refactor: pre-release build
This commit is contained in:
1 parent
229f525653
commit
27f9a8e10b
16 files changed
+201
-5
No files matched your search
@@ -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)
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 166 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1023 B |
+4
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user