修复震动补偿页面bug

This commit is contained in:
2024-08-15 09:12:11 +08:00
parent 8ccdc9ed33
commit 399aeda461
3 changed files with 7 additions and 0 deletions

View File

@@ -73,6 +73,7 @@ class Panel(ScreenPanel):
self.content.add(box)
pobox = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
pobox.get_style_context().add_class("measure_button")
test_x = self._gtk.Button(label=_("Measure X"))
test_x.connect("clicked", self.start_calibration, "x")
pobox.pack_start(test_x, True, True, 5)

View File

@@ -211,6 +211,9 @@ textview .time {
color: @pale-cyan-opa-100;
}
.measure_button {
background-color: rgba(25, 24, 39, 1);
}
.dialog {
background-color: @white-opa-10;
}

View File

@@ -217,6 +217,9 @@ trough progress {
border-radius: 0.5em;
}
.measure_button {
background-color: @bg_opa_100;
}
progressbar trough progress {
border-radius: 0.5em;