{"inframe":false,"title":"不同界面主题的差异","hidden":false,"roles":{"demo":1,"dev":1},"children":[{"configs":{"itemId":"module"},"children":[{"configs":{"autoShow":"true","title":"标题","height":"320","width":"480","layout":"absolute","dialog":"true","itemId":"window1"},"children":[{"configs":{"height":"22","width":"200","value":"文本框","itemId":"text1","y":"8","x":"8"},"children":[],"expanded":false,"type":"text"},{"configs":{"text":"Neptune主题标题栏和按钮栏等比其他主题要高，因此采用absolute布局时系统会自动调整容器高度。请在不同主题下查看该窗口效果。","height":"22","width":"448","itemId":"label1","y":"56","x":"8"},"children":[],"expanded":false,"type":"label"},{"configs":{"text":"自定义不同主题下的高度","height":"22","width":"208","itemId":"button1","y":"128","x":"136"},"events":{"click":"app.window2.show();\n//见window2的beforerender事件"},"children":[],"expanded":false,"type":"button"},{"configs":{"text":"按钮","height":"22","width":"88","itemId":"button2","y":"232","x":"368"},"children":[],"expanded":false,"type":"button"}],"expanded":true,"type":"window"},{"configs":{"title":"Neptune下高度300，其他260","height":"256","width":"408","layout":"absolute","closeAction":"hide","itemId":"window2"},"events":{"beforerender":"win.height = Wb.isNeptune ? 300 : 260;"},"children":[],"expanded":false,"type":"window"}],"expanded":true,"type":"module"}],"pageLink":"{container:false}","iconCls":""}