Styling
FIWL is not using CSS for styling because every drawing procedure done by every widgets. Instead of telling widgets how to draw, we ask them what default color, text size, and any else. You could modify the style.varl
to personalize styling.
#
Default valuesEverything inside style.varl
are optional and being emptied is completely legal. Thus, we have default values for styling:
#
How to configure?To configure styling, just add key = value
pairings to style.varl
as example below.
We can also add comment to style.varl
The style.varl
is not strict, you could add your own custom configuration
Then apply to desired widget:
#
Access from Script / EventFIWL allows you to access stylings from logic side (script or event tags), here is the example:
caution
Getting value from app.res.style*
should be done at "ready" event. Otherwise, it won't referencing to your configured style.varl