refactor: pre-release build
This commit is contained in:
@@ -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
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
BIN
src/view/resources/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1023 B |
@@ -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