widgets, themes: Define style for GimpPivotSelector

This patch adds a CSS class name to
GimpPivotSelector so we can define its
CSS style in the GUI.
It also defines the margin-right CSS property
to prevent it be affected by the general
GimpOverlayDialog style.
This commit is contained in:
Alx Sa 2026-02-18 14:04:51 +00:00
parent bffa26d995
commit ed1e71917b
2 changed files with 7 additions and 0 deletions

View file

@ -172,6 +172,8 @@ gimp_pivot_selector_class_init (GimpPivotSelectorClass *klass)
0.0,
GIMP_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
gtk_widget_class_set_css_name (GTK_WIDGET_CLASS (klass), "GimpPivotSelector");
}
static void

View file

@ -410,6 +410,11 @@ scrolledwindow viewport grid, scrolledwindow viewport box {
background-color: @extreme-bg-color;
}
/* 9 button toggles on some transformation tools */
GimpPivotSelector .toggle {
margin-right: 0px;
}
/* Define background on items in Preferences header */
GimpPrefsBox widget box label,
GimpPrefsBox widget box image {