main: temp: heater list smaller slider

This commit is contained in:
alfrix 2023-08-28 17:11:05 -03:00
parent a2ad8e6ade
commit 0f8fe9abe1
3 changed files with 6 additions and 0 deletions

View File

@ -231,6 +231,7 @@ class Panel(MenuPanel):
scroll = self._gtk.ScrolledWindow(steppers=False)
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
scroll.get_style_context().add_class('heater-list')
scroll.add(self.labels['devices'])
self.left_panel = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=0)

View File

@ -447,6 +447,7 @@ class Panel(ScreenPanel):
scroll = self._gtk.ScrolledWindow(steppers=False)
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
scroll.get_style_context().add_class('heater-list')
scroll.add(self.labels['devices'])
self.left_panel = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=0)

View File

@ -332,6 +332,10 @@ trough {
min-height: 350px;
}
.heater-list scrollbar slider{
min-width: 1.5em;
}
.heater-grid {
margin-right: .1em;
}