refactor: pre-release build

This commit is contained in:
2024-08-19 03:14:39 -07:00
parent 229f525653
commit 27f9a8e10b
16 changed files with 201 additions and 5 deletions

View File

@@ -57,8 +57,8 @@ pub fn open_help_dialogue(_action: &SimpleAction, _var: Option<&Variant>) {
let custom_header = HeaderBar::new();
Window::builder()
.width_request(400)
.height_request(300)
.width_request(800)
.height_request(600)
.name("help")
.title("Помощь")
.titlebar(&custom_header)

BIN
src/view/resources/icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

BIN
src/view/resources/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1023 B

View File

@@ -22,7 +22,10 @@ pub fn ui(application: &adw::Application) {
let default_settings = Settings::default();
if let Some(settings) = default_settings {
settings.set_gtk_font_name(Some("Segoe UI 9"));
{
#[cfg(target_os = "windows")]
settings.set_gtk_font_name(Some("Segoe UI 9"));
}
settings.connect_gtk_application_prefer_dark_theme_notify(load_css);
settings.connect_gtk_theme_name_notify(load_css);
load_css(&settings);