mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
win32 theme: Fix popup window decorations
Windows such as combobox's popup were using toplevel window's borders https://bugzilla.gnome.org/show_bug.cgi?id=773221
This commit is contained in:
parent
5c6dda0459
commit
1f340882e2
@ -123,6 +123,12 @@ decoration {
|
||||
background-position: top, bottom, left, right;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
/* Unset above settings when the window is a popup menu */
|
||||
* window decoration {
|
||||
all: unset;
|
||||
}
|
||||
|
||||
.titlebar {
|
||||
margin: calc(0px - -gtk-win32-size(window, cyframe) - -gtk-win32-size(window, cxpaddedborder))
|
||||
calc(0px - -gtk-win32-size(window, cxframe) - -gtk-win32-size(window, cxpaddedborder));
|
||||
|
Loading…
Reference in New Issue
Block a user