layout: content margins in css
close #558 (use .action_bar{} and .content{} in a custom theme)
This commit is contained in:
1 parent
b76953ebfe
commit
c18e2d148e
2 files changed
+6
-1
No files matched your search
@@ -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)
|
||||
|
||||
|
||||
@@ -190,6 +190,10 @@ trough {
|
||||
background-color: #20303D;
|
||||
}
|
||||
|
||||
.content {
|
||||
margin: 0 .1em;
|
||||
}
|
||||
|
||||
.dialog {
|
||||
border: .1em solid black;
|
||||
padding: 2.5em;
|
||||
|
||||
Reference in new issue
Block a user