Jump to content

How to add custom CSS in my custom unigui component


YangNing

Recommended Posts

Hi,

How to add custom CSS in my custom unigui component inherited Tunicontrol, as CustomCSS of ServerModule? I do not want to use UniAddCSSLibrary.  In component,It can access UniApplication.UniMainModule, but it can't access ServerModule.

 

For example, I would like to add '.x-tree-checkbox-unchecked {background-position: 15px -15px}' in my custom unigui component,and use 'x-tree-checkbox-unchecked'.

Link to comment
Share on other sites

×
×
  • Create New...