Solved

Control with content-type data has white background in the universal GUI (also in dark mode)

  • 16 January 2023
  • 1 reply
  • 41 views

When selecting a control with content type ‘data’ the control in the universal GUI has a white background. This is for example not nice when viewing the GUI in dark mode

GUI versie

2022.2.17.0.0

GUI uitgebracht op

09-12-2022

Platform versie

2022.2

icon

Best answer by Anne Buit 23 January 2023, 09:28

View original

1 reply

Userlevel 6
Badge +4

Hi Tristan,

This behavior is applied on purpose. 

When a control with text color markup capabilities is not focused, it will simply apply the dark-mode styling. The background will be made dark and uncolored text will be made white.

However, it is possible to display colored text and colored text background using this control.

Applying dark mode settings may render some explicitly colored text unreadable. This is the main reason we show the data as-is while editing, to clearly indicate the stored text was explicitly colored, on purpose.

Additionally, the colored text is often used in other scenarios, such as e-mails and reports and such. Not applying dark mode wile editing clearly shows show what the text will look like when embedded.

Reply