Change up timezone and keyboard ui a bit

pull/6/head
axtloss 2 years ago
parent 2be047d603
commit 78aa22e2a6

@ -15,35 +15,43 @@ template KeyboardScreen : Adw.Bin {
title: "Next question: keyboard layout?";
description: "What is it? Huh?";
Adw.PreferencesPage {
Adw.PreferencesGroup {
hexpand: true;
margin-end: 20;
margin-start: 20;
Adw.Carousel keyboard_carousel {
orientation: horizontal;
vexpand: true;
hexpand: true;
Adw.PreferencesGroup keyboard_layouts {
Gtk.Box keyboard_layouts {
margin-end: 1;
margin-start: 1;
orientation: vertical;
hexpand: true;
margin-end: 20;
margin-start: 20;
Gtk.ListBox list_keyboard_layouts {
Gtk.Box layout_search {
margin-bottom: 5;
Gtk.SearchEntry layout_entry_search {
hexpand: true;
placeholder-text: _("Search for a keyboard layout");
}
}
Gtk.ListBox list_keyboard_layouts {
styles ["boxed-list"]
}
}
Adw.PreferencesGroup keyboard_variants {
Gtk.Box keyboard_variants {
margin-start: 1;
margin-end: 1;
hexpand: true;
margin-end: 20;
margin-start: 20;
Gtk.ListBox list_keyboard_variants {
orientation: vertical;
Gtk.Box variant_search {
margin-bottom: 5;
Gtk.SearchEntry variant_entry_search {
hexpand: true;
placeholder-text: _("Search for a keyboard variant");
}
}
Gtk.ListBox list_keyboard_variants {
styles ["boxed-list"]
}
}
@ -52,3 +60,4 @@ template KeyboardScreen : Adw.Bin {
}
}
}
}

@ -14,15 +14,18 @@ template TimezoneScreen : Adw.Bin {
description: "What's your curent timezone?";
Gtk.Box {
orientation: vertical;
Adw.PreferencesPage {
Adw.PreferencesGroup {
Gtk.ListBox list_timezones {
Gtk.Box timezone_search {
Gtk.SearchEntry timezone_entry_search {
hexpand: true;
//margin-bottom: 5;
margin-end: 30;
margin-start: 30;
placeholder-text: _("Search for a timezone");
}
}
Adw.PreferencesPage {
Adw.PreferencesGroup {
Gtk.ListBox list_timezones {
styles ["boxed-list"]
}
}

Loading…
Cancel
Save