Prevent translated dialog text overlaps

This commit is contained in:
Mario Fetka
2026-07-15 07:50:36 +02:00
parent 4be9a13f34
commit cbb78f8b47
3 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -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)
+8 -8
View File
@@ -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);
}
+8 -8
View File
@@ -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
}
}
}