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 {
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;
}
+1
View File
@@ -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":
+3
View File
@@ -665,5 +665,8 @@ Stéphane
</child>
</object>
</child>
<style>
<class name="aboutdialog"/>
</style>
</object>
</interface>