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?"; title: "Next question: keyboard layout?";
description: "What is it? Huh?"; description: "What is it? Huh?";
Adw.PreferencesPage { Adw.PreferencesPage {
Adw.PreferencesGroup {
hexpand: true;
margin-end: 20;
margin-start: 20;
Adw.Carousel keyboard_carousel { Adw.Carousel keyboard_carousel {
orientation: horizontal; orientation: horizontal;
vexpand: true; vexpand: true;
hexpand: true; hexpand: true;
Adw.PreferencesGroup keyboard_layouts { Gtk.Box keyboard_layouts {
margin-end: 1;
margin-start: 1;
orientation: vertical;
hexpand: true; hexpand: true;
margin-end: 20;
margin-start: 20;
Gtk.ListBox list_keyboard_layouts {
Gtk.Box layout_search { Gtk.Box layout_search {
margin-bottom: 5;
Gtk.SearchEntry layout_entry_search { Gtk.SearchEntry layout_entry_search {
hexpand: true; hexpand: true;
placeholder-text: _("Search for a keyboard layout"); placeholder-text: _("Search for a keyboard layout");
} }
} }
Gtk.ListBox list_keyboard_layouts {
styles ["boxed-list"] styles ["boxed-list"]
} }
} }
Adw.PreferencesGroup keyboard_variants { Gtk.Box keyboard_variants {
margin-start: 1;
margin-end: 1;
hexpand: true; hexpand: true;
margin-end: 20; orientation: vertical;
margin-start: 20;
Gtk.ListBox list_keyboard_variants {
Gtk.Box variant_search { Gtk.Box variant_search {
margin-bottom: 5;
Gtk.SearchEntry variant_entry_search { Gtk.SearchEntry variant_entry_search {
hexpand: true; hexpand: true;
placeholder-text: _("Search for a keyboard variant"); placeholder-text: _("Search for a keyboard variant");
} }
} }
Gtk.ListBox list_keyboard_variants {
styles ["boxed-list"] 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?"; description: "What's your curent timezone?";
Gtk.Box { Gtk.Box {
orientation: vertical; orientation: vertical;
Adw.PreferencesPage {
Adw.PreferencesGroup {
Gtk.ListBox list_timezones {
Gtk.Box timezone_search { Gtk.Box timezone_search {
Gtk.SearchEntry timezone_entry_search { Gtk.SearchEntry timezone_entry_search {
hexpand: true; hexpand: true;
//margin-bottom: 5;
margin-end: 30;
margin-start: 30;
placeholder-text: _("Search for a timezone"); placeholder-text: _("Search for a timezone");
} }
} }
Adw.PreferencesPage {
Adw.PreferencesGroup {
Gtk.ListBox list_timezones {
styles ["boxed-list"] styles ["boxed-list"]
} }
} }

Loading…
Cancel
Save