From b5cb5651116553c50479632183fc3228d40b1bdb Mon Sep 17 00:00:00 2001 From: David Lapshin Date: Tue, 30 Aug 2022 20:07:30 +0300 Subject: [PATCH] feat: change initial window size --- data/ui/custom_css_group.blp | 2 +- data/ui/welcome.blp | 6 +++--- data/ui/window.blp | 4 ++-- src/main.py | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/data/ui/custom_css_group.blp b/data/ui/custom_css_group.blp index deb07b30..aa1cd817 100644 --- a/data/ui/custom_css_group.blp +++ b/data/ui/custom_css_group.blp @@ -3,7 +3,7 @@ using Adw 1; template GradienceCustomCSSGroup : Adw.PreferencesGroup { title: _("Custom CSS"); - description: _("Changing this may break some programs. Keep in mind that Libadwaita was made so that applications could hardcode values like paddings and margins (like in case of the Custom CSS code field itself, which uses 12px padding). Only GTK 4 CSS will be previewed here."); + description: _("Changing this may break some programs. Keep in mind that Libadwaita was made so that applications could hardcode values like paddings and margins. Only GTK 4 CSS will be previewed here."); [header-suffix] DropDown app-type-dropdown { diff --git a/data/ui/welcome.blp b/data/ui/welcome.blp index 9ad15b4c..6bf82c6a 100644 --- a/data/ui/welcome.blp +++ b/data/ui/welcome.blp @@ -5,8 +5,8 @@ template GradienceWelcomeWindow: Adw.Window { resizable: false; deletable: true; modal: true; - default-width: 650; - default-height: 550; + default-width: 600; + default-height: 500; Adw.ToastOverlay toast_overlay { Adw.Leaflet leaflet { @@ -55,7 +55,7 @@ template GradienceWelcomeWindow: Adw.Window { Gtk.Image img_welcome { resource: "/com/github/GradienceTeam/Gradience/images/welcome.svg"; - pixel-size: 320; + pixel-size: 256; } Adw.StatusPage page_welcome { diff --git a/data/ui/window.blp b/data/ui/window.blp index dd6d49ce..a35f8b37 100644 --- a/data/ui/window.blp +++ b/data/ui/window.blp @@ -3,8 +3,8 @@ using Adw 1; template GradienceMainWindow : Adw.ApplicationWindow { title: _("Gradience"); - default-width: 1280; - default-height: 720; + default-width: 1000; + default-height: 700; Adw.ToastOverlay toast_overlay { Adw.Leaflet leaflet { diff --git a/src/main.py b/src/main.py index e9a1ca89..ecbeeaac 100644 --- a/src/main.py +++ b/src/main.py @@ -624,9 +624,9 @@ class GradienceApplication(Adw.Application): "0xMRTT https://github.com/0xMRTT", "Verantor https://github.com/Verantor", ], - artists=['David "Daudix UFO" Lapshin https://github.com/daudix-UFO'], + artists=['David Lapshin https://github.com/daudix-UFO'], designers=[ - 'David "Daudix UFO" Lapshin https://github.com/daudix-UFO'], + 'David Lapshin https://github.com/daudix-UFO'], # Translators: This is a place to put your credits (formats: "Name # https://example.com" or "Name ", no quotes) # and is not meant to be translated literally. @@ -666,7 +666,7 @@ class GradienceApplication(Adw.Application): """), comments=_(""" -Gradience, originally Adwaita Manager (AdwCustomizer) is a tool for customizing Libadwaita applications and the adw-gtk3 theme. +Gradience is a tool for customizing Libadwaita applications and the adw-gtk3 theme. With Gradience you can: - Change any color of Adwaita theme