slint icon indicating copy to clipboard operation
slint copied to clipboard

How to set background and text colors for each widget indepentely

Open cppdev123 opened this issue 2 years ago • 2 comments

I'm currently missing how to set colors for each widget does slint support this yet ?

cppdev123 avatar Jun 04 '22 13:06 cppdev123

If I add a pr will it be accepted ?

cppdev123 avatar Jun 04 '22 20:06 cppdev123

My feeling is that instead of giving every widget an explicit API for each configurable color property, I think it would be better if we had a palette and it's possible to override the palette of a widget. See also #116.

tronical avatar Jun 07 '22 08:06 tronical

If there is a need to customize widget, one can write them yourself Cf https://slint-ui.com/docs/rust/slint/docs/recipes/index.html#custom-widgets

ogoffart avatar Nov 29 '22 12:11 ogoffart

but closing this in favor of #116

ogoffart avatar Nov 29 '22 12:11 ogoffart