Sugar sugar sugar pills

change the button on the main screen to be in a pill form
(https://www.youtube.com/watch?v=Wv6cN-y6ps4 banger song)
pull/6/head
axtloss 2 years ago
parent 0eb4d60a1c
commit c61163c1f9

@ -59,7 +59,7 @@ template JadeGuiWindow : Gtk.ApplicationWindow {
Gtk.Label letsstart {
label: "Ready to make your Crystal installation... ready?";
margin-bottom: 25;
margin-bottom: 28;
}
Gtk.Box {
@ -69,15 +69,10 @@ template JadeGuiWindow : Gtk.ApplicationWindow {
vexpand: true;
hexpand: true;
Gtk.Button quit_button {
label: "No...";
margin-end: 12;
}
Gtk.Button next_button {
margin-start: 12;
label: "YEAH!";
styles ["suggested-action"]
styles ["suggested-action", "pill"]
}
}
}

@ -37,7 +37,7 @@ class JadeGuiWindow(Gtk.ApplicationWindow):
### Page and widgets on welcome screen
welcome_page = Gtk.Template.Child()
quit_button = Gtk.Template.Child()
# quit_button = Gtk.Template.Child()
next_button = Gtk.Template.Child()
@ -53,7 +53,7 @@ class JadeGuiWindow(Gtk.ApplicationWindow):
self.carousel.append(self.user_screen)
self.carousel.append(self.desktop_screen)
### Widgets for first page (welcome screen)
self.quit_button.connect("clicked", self.confirmQuit)
#self.quit_button.connect("clicked", self.confirmQuit)
self.next_button.connect("clicked", self.nextPage)
### ---------

Loading…
Cancel
Save