From 9d85980430b648700f7f809f74fcd736d433967e Mon Sep 17 00:00:00 2001 From: FunkyFr3sh Date: Wed, 9 Aug 2023 17:46:30 +0200 Subject: [PATCH] use anchors --- config/ConfigFormUnit.cpp | 3 --- config/ConfigFormUnit.dfm | 6 ++++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/config/ConfigFormUnit.cpp b/config/ConfigFormUnit.cpp index a01ffd8..b8ff02a 100644 --- a/config/ConfigFormUnit.cpp +++ b/config/ConfigFormUnit.cpp @@ -209,9 +209,6 @@ void TConfigForm::ApplyTranslation(TIniFile *ini) else if (lang == "russian" || (lang == "auto" && priID == LANG_RUSSIAN)) { LanguageImg->Visible = true; ClientWidth *= 1.13; - DisplayPnl->Width *= 1.192; - AdvancedPnl->Width *= 1.192; - CompatibilityPnl->Width *= 1.192; /* -Russian- made by shikulja @ github */ diff --git a/config/ConfigFormUnit.dfm b/config/ConfigFormUnit.dfm index 4f61a35..e76b25a 100644 --- a/config/ConfigFormUnit.dfm +++ b/config/ConfigFormUnit.dfm @@ -2680,12 +2680,16 @@ object ConfigForm: TConfigForm Position = poDesktopCenter OnActivate = FormActivate OnCreate = FormCreate + DesignSize = ( + 741 + 476) TextHeight = 13 object DisplayPnl: TPanel Left = 233 Top = 8 Width = 499 Height = 465 + Anchors = [akLeft, akTop, akRight, akBottom] BevelOuter = bvNone Color = clWhite ParentBackground = False @@ -2871,6 +2875,7 @@ object ConfigForm: TConfigForm Top = 8 Width = 499 Height = 465 + Anchors = [akLeft, akTop, akRight, akBottom] BevelOuter = bvNone Color = clWhite ParentBackground = False @@ -3056,6 +3061,7 @@ object ConfigForm: TConfigForm Top = 8 Width = 499 Height = 465 + Anchors = [akLeft, akTop, akRight, akBottom] BevelOuter = bvNone Color = clWhite ParentBackground = False