You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use "Add Style", name it like "test_style", select for "Button" and then select colors for background and gradient using Color Picker.
When I check hex values for colors in EEZ Studio everything is OK but after export project to C files in styles.c there are "lv_color_hex(0xffxxxxxx)" - it looks like color is exported with alpha mask? Also RGB order looks misplaced?
... it looks like color is exported with alpha mask?
Yes, but it is ignored by the lv_color_hex function. Maybe we should omit alpha mask so instead of 0xffrrggbb just export 0xrrggbb to prevent any confusion.
Also RGB order looks misplaced?
It is not misplaced. Function lv_color_hex expects argument in the format 0x??rrggbb (where ?? is ignored) which is exactly what is generated.
When I create Style and define some colors for it they are exported in wrong format in styles.c.
The text was updated successfully, but these errors were encountered: