Forum > Cocoa

Are TPanel/TForm/TFrame getting dark OS theme?

(1/1)

AlexTP:
Because of this user report
https://github.com/Alexey-T/CudaText/issues/3975
I am asking:

- is TPanel automatically getting OS dark theme? Seems not yet
- is TForm also getting it? Seems yes.
- what about TFrame?
- what about TButton/TSpeedButton? screenshot from user shows that buttons are not getting dark theme, but button's font becomes light.


PS. I don't have modern Mac to test it..

jwdietrich:
It depends on the settings of certain properties in the object inspector. If colours are set to default then the dark theme is supported.

AlexTP:

--- Quote ---If colours are set to default then the dark theme is supported.
--- End quote ---
i am seeing the opposite for TPanel. in my project TPanel has default color (code don't change the BG color at all) and Panel is light on dark theme.

EDIT. i see the opposite for __TForm__.

Navigation

[0] Message Index

Go to full version