added border radius for about dialog

This commit is contained in:
Oguz Kagan EREN
2021-07-11 15:41:07 +03:00
parent cb4946242c
commit a9a83c895a
3 changed files with 10 additions and 2 deletions
+6 -2
View File
@@ -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;
}
+1
View File
@@ -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":
+3
View File
@@ -665,5 +665,8 @@ Stéphane
</child> </child>
</object> </object>
</child> </child>
<style>
<class name="aboutdialog"/>
</style>
</object> </object>
</interface> </interface>