added border radius for about dialog
This commit is contained in:
+6
-2
@@ -1,6 +1,6 @@
|
||||
window {
|
||||
border-bottom-left-radius: 7;
|
||||
border-bottom-right-radius: 7;
|
||||
border-bottom-left-radius: 7px;
|
||||
border-bottom-right-radius: 7px;
|
||||
}
|
||||
|
||||
.homepage button {
|
||||
@@ -8,4 +8,8 @@ window {
|
||||
padding: 10px 30px;
|
||||
border: none;
|
||||
border-radius: 5px 5px 5px 5px;
|
||||
}
|
||||
|
||||
.aboutdialog {
|
||||
border-radius: 7px;
|
||||
}
|
||||
@@ -330,6 +330,7 @@ class Hello(Gtk.Window):
|
||||
self.set_autostart(action.get_active())
|
||||
elif name == "about":
|
||||
dialog = self.builder.get_object("aboutdialog")
|
||||
dialog.set_decorated(False)
|
||||
dialog.run()
|
||||
dialog.hide()
|
||||
elif name == "appBrowser":
|
||||
|
||||
@@ -665,5 +665,8 @@ Stéphane
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<style>
|
||||
<class name="aboutdialog"/>
|
||||
</style>
|
||||
</object>
|
||||
</interface>
|
||||
|
||||
Reference in New Issue
Block a user