From cbb78f8b471429b6211fc34c9bf721ef7d6eec24 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Wed, 15 Jul 2026 07:50:36 +0200 Subject: [PATCH] Prevent translated dialog text overlaps --- CMakeLists.txt | 2 +- src/we.cxx | 16 ++++++++-------- src/we.fl | 16 ++++++++-------- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ae86cb3..b1e13d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.20) -project(prozgui VERSION 2.4.7 LANGUAGES C CXX) +project(prozgui VERSION 2.4.8 LANGUAGES C CXX) include(GNUInstallDirs) find_package(Threads REQUIRED) diff --git a/src/we.cxx b/src/we.cxx index 17ed578..08ce8ec 100644 --- a/src/we.cxx +++ b/src/we.cxx @@ -141,7 +141,7 @@ Fl_Window* make_prefs_win() { o->textsize(12); o->align(FL_ALIGN_TOP); } - { Fl_Input* o = in_bps_per_dl = new Fl_Input(330, 275, 95, 25); + { Fl_Input* o = in_bps_per_dl = new Fl_Input(330, 290, 95, 25); o->type(1); o->labelsize(11); o->textsize(12); @@ -159,7 +159,7 @@ Fl_Window* make_prefs_win() { o->labelsize(12); o->align(132|FL_ALIGN_INSIDE); } - { Fl_Box* o = new Fl_Box(65, 250, 380, 20, gettext("Limit bandwith usage PER download to (Kbps) (0 = unlimited):")); + { Fl_Box* o = new Fl_Box(65, 250, 380, 35, gettext("Limit bandwith usage PER download to (Kbps) (0 = unlimited):")); o->labelsize(12); o->align(132|FL_ALIGN_INSIDE); } @@ -4667,29 +4667,29 @@ Fl_Check_Button *do_ftpsearch_button=(Fl_Check_Button *)0; Fl_Window* make_url_input_win() { Fl_Window* w; - { Fl_Window* o = new Fl_Window(440, 140, gettext("Please enter the URL")); + { Fl_Window* o = new Fl_Window(440, 160, gettext("Please enter the URL")); w = o; - { Fl_Return_Button* o = url_input_ok_button = new Fl_Return_Button(235, 110, 90, 25, gettext("OK")); + { Fl_Return_Button* o = url_input_ok_button = new Fl_Return_Button(235, 130, 90, 25, gettext("OK")); o->labelsize(12); o->callback((Fl_Callback*)cb_url_input_ok); } - { Fl_Input* o = in_url = new Fl_Input(65, 55, 360, 30); + { Fl_Input* o = in_url = new Fl_Input(65, 70, 360, 30); o->labelsize(12); o->textsize(12); o->align(133); } - { Fl_Box* o = new Fl_Box(60, 25, 335, 25, gettext("Enter URL (CTRL+V to paste from clipboard)")); + { Fl_Box* o = new Fl_Box(60, 20, 335, 45, gettext("Enter URL (CTRL+V to paste from clipboard)")); o->labelsize(12); o->align(132|FL_ALIGN_INSIDE); } { Fl_Box* o = new Fl_Box(5, 30, 55, 60); o->image(image_Pz12); } - { Fl_Button* o = new Fl_Button(340, 110, 90, 25, gettext("Cancel")); + { Fl_Button* o = new Fl_Button(340, 130, 90, 25, gettext("Cancel")); o->labelsize(12); o->callback((Fl_Callback*)cb_url_input_cancel); } - { Fl_Check_Button* o = do_ftpsearch_button = new Fl_Check_Button(60, 90, 245, 20, gettext("FTPSearch for mirrors (Experimental)")); + { Fl_Check_Button* o = do_ftpsearch_button = new Fl_Check_Button(60, 105, 300, 20, gettext("FTPSearch for mirrors (Experimental)")); o->down_box(FL_DIAMOND_DOWN_BOX); o->labelsize(12); } diff --git a/src/we.fl b/src/we.fl index 8d65c4a..5c71acc 100644 --- a/src/we.fl +++ b/src/we.fl @@ -47,7 +47,7 @@ Function {make_prefs_win()} {} { xywh {65 225 355 25} labelsize 12 align 1 textsize 12 } Fl_Input in_bps_per_dl { - xywh {330 275 95 25} type Float labelsize 11 align 1 textsize 12 + xywh {330 290 95 25} type Float labelsize 11 align 1 textsize 12 } Fl_Box {} { label {Retry Delay (Sec):} @@ -63,7 +63,7 @@ Function {make_prefs_win()} {} { } Fl_Box {} { label {Limit bandwith usage PER download to (Kbps) (0 = unlimited):} - xywh {65 250 380 20} labelsize 12 align 148 + xywh {65 250 380 35} labelsize 12 align 148 } } } @@ -366,20 +366,20 @@ Function {make_about_win()} {} { Function {make_url_input_win()} {} { Fl_Window {} { label {Please enter the URL} open - xywh {219 450 440 140} + xywh {219 450 440 160} code1 {o->hide();} visible } { Fl_Return_Button url_input_ok_button { label OK callback cb_url_input_ok - xywh {235 110 90 25} labelsize 12 + xywh {235 130 90 25} labelsize 12 } Fl_Input in_url { - xywh {65 55 360 30} labelsize 12 align 133 textsize 12 + xywh {65 70 360 30} labelsize 12 align 133 textsize 12 } Fl_Box {} { label {Enter URL (CTRL+V to paste from clipboard)} - xywh {60 25 335 25} labelsize 12 align 148 + xywh {60 20 335 45} labelsize 12 align 148 } Fl_Box {} { image {images/Pz12.xpm} xywh {5 30 55 60} @@ -387,11 +387,11 @@ Function {make_url_input_win()} {} { Fl_Button {} { label Cancel callback cb_url_input_cancel - xywh {340 110 90 25} labelsize 12 + xywh {340 130 90 25} labelsize 12 } Fl_Check_Button do_ftpsearch_button { label {FTPSearch for mirrors (Experimental)} - xywh {60 90 245 20} down_box DIAMOND_DOWN_BOX labelsize 12 + xywh {60 105 300 20} down_box DIAMOND_DOWN_BOX labelsize 12 } } }