📄 welcomescreen.js
字号:
DemoApp.WelcomeScreen = Core.extend(EchoApp.ContentPane, { _msg: null, $construct: function() { this._msg = DemoApp.Messages.get(null); var west = new Date().getTimezoneOffset() >= 60; EchoApp.ContentPane.call(this, { styleName: west ? "Photo.EarthWest" : "Photo.EarthEast", children: [ new EchoApp.WindowPane({ styleName: "GlassBlue", width: 500, height: 300, positionX: 50, positionY: 200, title: this._msg["WelcomeScreen.WindowTitle"], closable: false, children: [ new EchoApp.Column({ insets: "8px 25px", cellSpacing: 8, children: [ new EchoApp.Label({ text: this._msg["WelcomeScreen.WelcomeText"] }), new EchoApp.Label({ text: this._msg["WelcomeScreen.DevelopmentText"] }), new EchoApp.Label({ text: this._msg["WelcomeScreen.NavHelpText"] }) ] }) ] }) ] }); }});
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -