简体   繁体   English

如何在Gizmox的WebGui中设置页面pcon并加载动画?

[英]How to set the page pcon and loading animation in Gizmox's WebGui?

I have 2 problems regarding the design in the WebGui from Gizmox: 关于Gizmox的WebGui中的设计,我有两个问题:

  • How can I set a page icon for a form (or the entire website for that matter). 如何为表单(或整个网站)设置页面图标。 I tried setting the Icon Property from the forms property grid but it does not work 我尝试从窗体属性网格设置图标属性,但是它不起作用

  • How can I change the loading page animation 如何更改加载页面动画

I finally figured it out. 我终于弄明白了。

  • The icon property on the form has nothing to do with the icon of the web page. 表单上的icon属性与网页的图标无关。 I had to specify "favicon.ico" file. 我必须指定“ favicon.ico”文件。

When a VWG application runs, it will look for favicon.ico file on the virtual folder in the following locations and in the following order, and then pick or use the LAST one it finds: The root folder, Url will be /favicon.ico The Resources\\Icons folder, Url will be /Icons.favicon.ico.wgx VWG应用程序运行时,它将在虚拟文件夹中的以下位置并按以下顺序查找favicon.ico文件,然后选择或使用找到的最后一个文件:根文件夹Url为/favicon.ico。 Resources \\ Icons文件夹,网址为/Icons.favicon.ico.wgx

From here 这里

  • To edit the loading animation, I had to add a new theme and overwrite the .html and the .css files for the Loading category. 要编辑加载动画,我必须添加一个新主题并覆盖“加载”类别的.html和.css文件。 One important note is that I had to activate the theme from Project properties-> Registration-> Themes. 重要说明之一是,我必须从项目属性->注册->主题中激活主题。 There is also a bug. 还有一个错误。 Every time I edit the theme, I have to rename the theme from the Registration tab. 每次编辑主题时,都必须从“注册”选项卡中重命名主题。 It took me a while to figure this out. 我花了一段时间才弄清楚这一点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM