style: set minimum height for distbuttons and simplify border removal
This commit is contained in:
1 parent
2dc7a716ee
commit
3a91ba4604
8 files changed
+4
-7
No files matched your search
@@ -90,7 +90,6 @@ class BedMeshPanel(ScreenPanel):
|
||||
_ = self.lang.gettext
|
||||
|
||||
frame = Gtk.Frame()
|
||||
frame.set_property("shadow-type", Gtk.ShadowType.NONE)
|
||||
|
||||
name = Gtk.Label()
|
||||
name.set_markup("<big><b>%s</b></big>" % (profile))
|
||||
|
||||
@@ -71,7 +71,6 @@ class FanPanel(ScreenPanel):
|
||||
break
|
||||
|
||||
frame = Gtk.Frame()
|
||||
frame.set_property("shadow-type", Gtk.ShadowType.NONE)
|
||||
frame.get_style_context().add_class("frame-item")
|
||||
|
||||
self.fan_speed[fan] = float(self._printer.get_fan_speed(fan))
|
||||
|
||||
@@ -42,7 +42,6 @@ class MacroPanel(ScreenPanel):
|
||||
if macro.startswith("_"):
|
||||
return
|
||||
frame = Gtk.Frame()
|
||||
frame.set_property("shadow-type", Gtk.ShadowType.NONE)
|
||||
frame.get_style_context().add_class("frame-item")
|
||||
|
||||
name = Gtk.Label()
|
||||
|
||||
@@ -78,7 +78,6 @@ class LimitsPanel(ScreenPanel):
|
||||
logging.info("Adding option: %s" % option)
|
||||
|
||||
frame = Gtk.Frame()
|
||||
frame.set_property("shadow-type", Gtk.ShadowType.NONE)
|
||||
frame.get_style_context().add_class("frame-item")
|
||||
|
||||
name = Gtk.Label()
|
||||
|
||||
@@ -131,7 +131,6 @@ class NetworkPanel(ScreenPanel):
|
||||
network_id = net
|
||||
|
||||
frame = Gtk.Frame()
|
||||
frame.set_property("shadow-type", Gtk.ShadowType.NONE)
|
||||
frame.get_style_context().add_class("frame-item")
|
||||
|
||||
|
||||
|
||||
@@ -44,7 +44,6 @@ class PowerPanel(ScreenPanel):
|
||||
|
||||
def add_device(self, device):
|
||||
frame = Gtk.Frame()
|
||||
frame.set_property("shadow-type", Gtk.ShadowType.NONE)
|
||||
frame.get_style_context().add_class("frame-item")
|
||||
|
||||
name = Gtk.Label()
|
||||
|
||||
@@ -105,7 +105,6 @@ class SettingsPanel(ScreenPanel):
|
||||
return
|
||||
|
||||
frame = Gtk.Frame()
|
||||
frame.set_property("shadow-type", Gtk.ShadowType.NONE)
|
||||
frame.get_style_context().add_class("frame-item")
|
||||
|
||||
name = Gtk.Label()
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
-GtkComboBox-appears-as-list: 0;
|
||||
text-shadow: none;
|
||||
box-shadow: none;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
window {
|
||||
@@ -216,6 +217,7 @@ trough {
|
||||
border-top-left-radius: .75em;
|
||||
border-bottom-left-radius: .75em;
|
||||
margin-right: 0;
|
||||
min-height: 3em;
|
||||
}
|
||||
|
||||
.distbutton {
|
||||
@@ -224,6 +226,7 @@ trough {
|
||||
border-right: 0;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
min-height: 3em;
|
||||
}
|
||||
|
||||
.distbutton_bottom {
|
||||
@@ -232,6 +235,7 @@ trough {
|
||||
border-top-right-radius: .7em;
|
||||
border-bottom-right-radius: .7em;
|
||||
margin-left: 0;
|
||||
min-height: 3em;
|
||||
}
|
||||
|
||||
.extruder-0 {
|
||||
|
||||
Reference in new issue
Block a user