main: temp: heater list smaller slider
This commit is contained in:
parent
a2ad8e6ade
commit
0f8fe9abe1
@ -231,6 +231,7 @@ class Panel(MenuPanel):
|
|||||||
|
|
||||||
scroll = self._gtk.ScrolledWindow(steppers=False)
|
scroll = self._gtk.ScrolledWindow(steppers=False)
|
||||||
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
|
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
|
||||||
|
scroll.get_style_context().add_class('heater-list')
|
||||||
scroll.add(self.labels['devices'])
|
scroll.add(self.labels['devices'])
|
||||||
|
|
||||||
self.left_panel = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=0)
|
self.left_panel = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=0)
|
||||||
|
@ -447,6 +447,7 @@ class Panel(ScreenPanel):
|
|||||||
|
|
||||||
scroll = self._gtk.ScrolledWindow(steppers=False)
|
scroll = self._gtk.ScrolledWindow(steppers=False)
|
||||||
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
|
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
|
||||||
|
scroll.get_style_context().add_class('heater-list')
|
||||||
scroll.add(self.labels['devices'])
|
scroll.add(self.labels['devices'])
|
||||||
|
|
||||||
self.left_panel = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=0)
|
self.left_panel = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=0)
|
||||||
|
@ -332,6 +332,10 @@ trough {
|
|||||||
min-height: 350px;
|
min-height: 350px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.heater-list scrollbar slider{
|
||||||
|
min-width: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
.heater-grid {
|
.heater-grid {
|
||||||
margin-right: .1em;
|
margin-right: .1em;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user