2018-04-11 10:28:32 +02:00
|
|
|
Patch-mainline: To be upstreamed
|
|
|
|
References: bnc#1084865
|
|
|
|
Author: Michal Srb <msrb@suse.com>
|
|
|
|
Subject: Change button layout in ServerDialog.
|
|
|
|
|
|
|
|
To fit strings in languages with longer words...
|
|
|
|
---
|
|
|
|
vncviewer/ServerDialog.cxx | 4 +++-
|
|
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
|
2023-02-15 18:41:53 +01:00
|
|
|
Index: tigervnc-1.13.0/vncviewer/ServerDialog.cxx
|
2022-02-17 11:42:51 +01:00
|
|
|
===================================================================
|
2023-02-15 18:41:53 +01:00
|
|
|
--- tigervnc-1.13.0.orig/vncviewer/ServerDialog.cxx
|
|
|
|
+++ tigervnc-1.13.0/vncviewer/ServerDialog.cxx
|
|
|
|
@@ -70,7 +70,7 @@ ServerDialog::ServerDialog()
|
2022-02-17 11:42:51 +01:00
|
|
|
serverName = new Fl_Input_Choice(x, y, w() - margin*2 - server_label_width, INPUT_HEIGHT, _("VNC server:"));
|
2023-02-15 18:41:53 +01:00
|
|
|
usedDir = NULL;
|
2018-04-11 10:28:32 +02:00
|
|
|
|
|
|
|
- int adjust = (w() - 20) / 4;
|
|
|
|
+ int adjust = (w() - 20) / 3;
|
|
|
|
int button_width = adjust - margin/2;
|
|
|
|
|
|
|
|
x = margin;
|
2023-02-15 18:41:53 +01:00
|
|
|
@@ -93,6 +93,8 @@ ServerDialog::ServerDialog()
|
2018-04-11 10:28:32 +02:00
|
|
|
|
|
|
|
x = 0;
|
|
|
|
y += margin/2 + BUTTON_HEIGHT;
|
|
|
|
+ adjust = (w() - 20) / 4;
|
|
|
|
+ button_width = adjust - margin/2;
|
|
|
|
|
|
|
|
divider = new Fl_Box(x, y, w(), 2);
|
|
|
|
divider->box(FL_THIN_DOWN_FRAME);
|