mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-11-24 05:46:17 +03:00
178c45ae48
- added `Adw.StatusPage` to the preferences - made preparations for progress bar and launcher states system - fixed toasts resizing window issue
37 lines
718 B
Text
37 lines
718 B
Text
using Gtk 4.0;
|
|
using Adw 1;
|
|
|
|
Gtk.Box preferences {
|
|
orientation: vertical;
|
|
|
|
Adw.HeaderBar {
|
|
title-widget: Adw.WindowTitle {
|
|
title: "Preferences";
|
|
};
|
|
|
|
Gtk.Button preferences_go_back {
|
|
icon-name: "go-previous-symbolic";
|
|
halign: start;
|
|
}
|
|
}
|
|
|
|
Adw.StatusPage status_page {
|
|
icon-name: "image-loading-symbolic";
|
|
title: "Loading data";
|
|
|
|
vexpand: true;
|
|
}
|
|
|
|
Adw.Flap flap {
|
|
vexpand: true;
|
|
visible: false;
|
|
|
|
flap: Gtk.StackSidebar {
|
|
width-request: 200;
|
|
stack: stack;
|
|
};
|
|
|
|
separator: Gtk.Separator {};
|
|
content: Gtk.Stack stack {};
|
|
}
|
|
}
|