TimLariviere / Fabulous-new

Fabulous v2 - Work in progress
https://timothelariviere.com/Fabulous-new/
Other
41 stars 3 forks source link

Add support for Label Styles V1 like #13

Closed edgarfgp closed 2 years ago

edgarfgp commented 2 years ago

This PR Adds initial support for #10 . This add a v1 like way of defining styles.

The original idea was to have a dedicated widgets like LabelStyle(), but for this there are some changes required on how Fabulous handles that.

I suggest we support both :

style(myStyle) This PR .style( LabelStyle() .textColor )

Happy to try and and achieve the second one with some assistance 😀

edgarfgp commented 2 years ago

Nice work! Regarding support for both XF.Style and style widgets, I want to keep Fabulous the easiest to use possible. We should avoid adding too many ways of doing the same thing.

Yeah Agreed