Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 81227

Will a widget compile all .css files in //[src]/[widget]/widget/ui ?

$
0
0

Will a widget automatically compile CSS definitions in any .css files in its /widget/ui directory?

Ex.: If my widget is called Glass, there is a file Glass.css packaged in the .mpk in the "ui" subfolder. Say glass defines styling for 3 classes, "open," "closed," and "highlight." If I add Glass2.css into the "ui" subfolder, and it defines 2 more classes, "disabled" and "explode," are all 5 CSS definitions available to the widget?

I have tried this unsuccessfully, and the only way I see to get the "disabled" and "explode" CSS definitions is to copy-paste into Glass.css. The works fine, but being able to use any CSS definition in any .css file in the "ui" subfolder would be elegant.


Viewing all articles
Browse latest Browse all 81227

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>