layout: content margins in css

close #558 (use .action_bar{} and .content{} in a custom theme)
This commit is contained in:
alfrix authored and Alfredo Monclus committed 2022-07-03 12:03:50 -03:00
1 parent b76953ebfe
commit c18e2d148e
2 files changed
+6 -1

No files matched your search

+2 -1
View File
@@ -25,7 +25,8 @@ class ScreenPanel:
self.layout = Gtk.Layout()
self.layout.set_size(self._screen.width, self._screen.height)
self.content = Gtk.VBox(spacing=0)
self.content = Gtk.VBox()
self.content.get_style_context().add_class("content")
self.content.set_hexpand(True)
self.content.set_vexpand(True)
+4
View File
@@ -190,6 +190,10 @@ trough {
background-color: #20303D;
}
.content {
margin: 0 .1em;
}
.dialog {
border: .1em solid black;
padding: 2.5em;