From 0b23664823292247d777345d66c0cf4e91f1921f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Knut=20Alejandro=20Anderssen=20Gonz=C3=A1lez?= Date: Thu, 26 May 2016 14:26:38 +0100 Subject: [PATCH] System Role: centered dialog for ncurses. --- package/yast2-installation.changes | 5 +++++ src/lib/installation/select_system_role.rb | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/package/yast2-installation.changes b/package/yast2-installation.changes index cd7d3d3eb..67ab41d2e 100644 --- a/package/yast2-installation.changes +++ b/package/yast2-installation.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 26 13:17:42 UTC 2016 - kanderssen@suse.com + +- System Role: centered dialog (ncurses). + ------------------------------------------------------------------- Wed May 25 15:49:41 UTC 2016 - kanderssen@suse.com diff --git a/src/lib/installation/select_system_role.rb b/src/lib/installation/select_system_role.rb index ac398dabf..f8d2fc3fd 100644 --- a/src/lib/installation/select_system_role.rb +++ b/src/lib/installation/select_system_role.rb @@ -53,10 +53,12 @@ def help_text end def dialog_content - VBox( - Left(Label(Yast::ProductControl.GetTranslatedText("roles_text"))), - VSpacing(2), - role_buttons + HSquash( + VBox( + Left(Label(Yast::ProductControl.GetTranslatedText("roles_text"))), + VSpacing(2), + role_buttons + ) ) end