Change up timezone and keyboard ui a bit

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

@ -15,36 +15,45 @@ template KeyboardScreen : Adw.Bin {
title: "Next question: keyboard layout?";
description: "What is it? Huh?";
Adw.PreferencesPage {
Adw.Carousel keyboard_carousel {
orientation: horizontal;
vexpand: true;
Adw.PreferencesGroup {
hexpand: true;
Adw.PreferencesGroup keyboard_layouts {
margin-end: 20;
margin-start: 20;
Adw.Carousel keyboard_carousel {
orientation: horizontal;
vexpand: true;
hexpand: true;
margin-end: 20;
margin-start: 20;
Gtk.ListBox list_keyboard_layouts {
Gtk.Box keyboard_layouts {
margin-end: 1;
margin-start: 1;
orientation: vertical;
hexpand: true;
Gtk.Box layout_search {
Gtk.SearchEntry layout_entry_search {
hexpand: true;
placeholder-text: _("Search for a keyboard layout");
}
}
styles ["boxed-list"]
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 {
hexpand: true;
margin-end: 20;
margin-start: 20;
Gtk.ListBox list_keyboard_variants {
Gtk.Box keyboard_variants {
margin-start: 1;
margin-end: 1;
hexpand: true;
orientation: vertical;
Gtk.Box variant_search {
Gtk.SearchEntry variant_entry_search {
hexpand: true;
placeholder-text: _("Search for a keyboard variant");
}
}
styles ["boxed-list"]
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"]
}
}
}
}

@ -14,15 +14,18 @@ template TimezoneScreen : Adw.Bin {
description: "What's your curent timezone?";
Gtk.Box {
orientation: vertical;
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 {
Gtk.Box timezone_search {
Gtk.SearchEntry timezone_entry_search {
hexpand: true;
placeholder-text: _("Search for a timezone");
}
}
styles ["boxed-list"]
}
}

Loading…
Cancel
Save