Jump to content

Is it possible to create a project without setting up a theme?


gerardocrisci

Recommended Posts

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...