Background color changed after changing factory.setDrawingPropertiesForItem #329
futurexdesign
started this conversation in
General
Replies: 2 comments 1 reply
-
Just took a look at the code and I can see what the issue is, it is because the "fill" background drawing code is using your menu item as the background because of an oversight in the design. Up to now we've never seen the first menu item being overridden, and as it is also the "first" in the list, when we look for the background color that gets picked up instead of the default. This will be fixed in 3.2 that's not too far away. Converted to issue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
See #330 (tracking issue) and TcMenu/tcMenuLib#190 (actual issue in library repo) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an interface as such:
TitleBar
EditableTextMenuItem (displaying a timer countdown)
Grid of 4 action items represented by icons.
I am using DarkModeModern on an LCD.
I want my timer section to be centered, with a white background and black text, but the rest of the ui to retain the black background. The issue I'm having is, after I set the drawing properties for the timer menu entry, all of the "empty" space below the grid row has become white.
I'm calling
in setup after
setupMenu()
. I'm just not entirely sure why the remaining background has become white. As a test, I tried adding another dummy menu time after the grid row, which renders correctly (in black background), but doesn't seem to fix the rest of the unfilled white space below the last menu.Screenshot:
Any suggestions on what to try would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions