gerardocrisci Posted September 24, 2018 Share Posted September 24, 2018 The theme is checked at the start of a unigui program, if it does not exist or is empty a standard theme is loaded. This operation takes for granted a fixed folder structure on the site and leaves little freedom of customization. TUniMainModule.Theme with empty value, or with a new property (ignore theme), program does not have to load any thema or it does not have to verify the presence of folders containing the files of a theme. You should have the specifications of the prodecure to set the variables in the initialization phase of the program .unigui_theme { border-left-width:? px; border-bottom-width:? px; window-header-height:? px; tab-header-height:? px; tab-border-width:? px; menu-band-height:? px; panel-header-height:? px; panel-header-width:? px; calendar-form-width:? px; calendar-form-height:? px; ... } ... It gives the possibility to the programmer to create a dynamic and customizable thema without necessarily creating a fixed scheme of folders and css files. I hope for your observation Thank you Link to comment Share on other sites More sharing options...
gerardocrisci Posted September 25, 2018 Author Share Posted September 25, 2018 Is it possible to have a project without a theme set? is it possible to set the variables ( .unigui_theme ) with a procedure? Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted September 25, 2018 Administrators Share Posted September 25, 2018 Without a theme, you won't be able to see a web page. Link to comment Share on other sites More sharing options...
gerardocrisci Posted September 26, 2018 Author Share Posted September 26, 2018 it is obvious that without a css file there is not a correct visualization. But I could create one on request or using UniServerModule.CustomFiles.Strings = ('files / my.css'). The problem is that the program always searches for a default theme. Another problem is setting the variables ( unigui_theme ). This gives the programmer the ability to customize a project at the request of the user. is it possible to get this? Thank you Link to comment Share on other sites More sharing options...
gerardocrisci Posted October 2, 2018 Author Share Posted October 2, 2018 is it possible to do this? does this seem like a stupid request? do you want to give more freedom of personalization? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now