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