Theming Window Dialogs titlebar?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By wildboar

So I am creating custom theme for my UI by styling Class Items with theme file.
Up on changing Window Dialogs > Styles > Panel, the dialog lost (became invisible) its TITLE panel.

Question is what Class Item name is the title panel for Window Dialogs ? So that I can theme it back to visible…

:bust_in_silhouette: Reply From: Calinou

The WindowDialog title likely didn’t disappear. It’s just that you need to make it taller so that it’s visible. To do so, increase its top Expand Margin to a value like 24.

Yes by increasing top expand margin title becomes visible, however I was wondering is it possible to give separate panel style for the title, like it had with default theme ?

wildboar | 2021-02-22 14:33

You would need to set a different “Border/Color” than “Bg Color”, as well as the top values for both “Border Width” and “Expand Margin”.

If you want it as tight as the default one, 20 for both should work with the default font.
A border of 30 and margin of 24 gives a bit more space for the header

Hesiris | 2021-12-06 07:01