如何向视图堆栈添加 2 个以上视图?
我在通过 Dashcode GUI 界面向堆栈添加 2 个以上视图时遇到了问题。我已经了解了如何以编程方式执行此操作,但是有没有办法在堆栈中静态保留额外的视图?
实际上我可以使用不同的堆栈,但问题是我必须添加另一个浏览器区域,并且它在编辑器中变得非常丑陋和混乱。
谢谢你的帮助,
康纳
I have been having problems simply adding more than 2 views to the stack through the Dashcode GUI interface. I have seen how to do that programmatically, but is there a way to statically keep extra views within the stack?
I am actually okay with using a different stack, but the problem there is that I have to add another browser area and it get's very ugly and messy in the editor.
Thanks for the help,
Connor
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您现在可能已经明白了,StackLayout 的检查器中有一个子视图部分。只需单击 + 按钮即可添加视图。 (或者单击 - 按钮删除视图。)您可以通过在此检查器面板中拖放视图顺序来上下移动视图顺序。
希望这有帮助!
You've probably figured it out by now, but there is a Subviews section of the StackLayout's inspector. Just click on the + button to add a view. (Or click on the - button to remove a view.) You can move the view order up and down in order by dragging and dropping them in this inspector panel.
Hope this helps!