aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-07-14 22:51:47 +0200
committerAngelo Naselli <anaselli@linux.it>2014-07-14 22:51:47 +0200
commit9a6bd2b0123d1e3275878a45dc2a4119313d48cd (patch)
tree6098c35e6ac6420357d219528594d5b2db44dade /lib
parent8b7feefb3458f23f0a1c36b98505667a5125bb0d (diff)
downloadcolin-keep-9a6bd2b0123d1e3275878a45dc2a4119313d48cd.tar
colin-keep-9a6bd2b0123d1e3275878a45dc2a4119313d48cd.tar.gz
colin-keep-9a6bd2b0123d1e3275878a45dc2a4119313d48cd.tar.bz2
colin-keep-9a6bd2b0123d1e3275878a45dc2a4119313d48cd.tar.xz
colin-keep-9a6bd2b0123d1e3275878a45dc2a4119313d48cd.zip
better layout
Diffstat (limited to 'lib')
-rw-r--r--lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm13
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm b/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm
index 7be43d6..fb0b2ab 100644
--- a/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm
+++ b/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm
@@ -197,7 +197,7 @@ sub _build_add_dialog {
$options->{info}->{$options->{selected}}->{url}
);
- $factory->createHSpacing($hbox, 1.0);
+ $factory->createHSpacing($hbox, 3.0);
$widgets{url} = $factory->createInputField($hbox, "", 0);
$widgets{url}->setWeight($yui::YD_HORIZ, 2);
if (defined($options->{info}->{$options->{selected}}->{dirsel})) {
@@ -207,15 +207,17 @@ sub _build_add_dialog {
$hbox = $factory->createHBox($vbox);
$factory->createHSpacing($hbox, 1.0);
$label = $factory->createLabel($hbox, N("Login:") );
- $factory->createHSpacing($hbox, 2.0);
+ $factory->createHSpacing($hbox, 1.0);
$widgets{login} = $factory->createInputField($hbox, "", 0);
- $widgets{login}->setWeight($yui::YD_HORIZ, 2);
+ $label->setWeight($yui::YD_HORIZ, 1);
+ $widgets{login}->setWeight($yui::YD_HORIZ, 3);
$hbox = $factory->createHBox($vbox);
$factory->createHSpacing($hbox, 1.0);
$label = $factory->createLabel($hbox, N("Password:") );
- $factory->createHSpacing($hbox, 2.0);
+ $factory->createHSpacing($hbox, 1.0);
$widgets{pass} = $factory->createInputField($hbox, "", 1);
- $widgets{pass}->setWeight($yui::YD_HORIZ, 2);
+ $label->setWeight($yui::YD_HORIZ, 1);
+ $widgets{pass}->setWeight($yui::YD_HORIZ, 3);
}
# recalc layout
@@ -275,6 +277,7 @@ sub add_callback() {
$hbox = $factory->createHBox($vbox);
$factory->createHSpacing($hbox, 1.0);
$label = $factory->createLabel($hbox, N("Medium name:") );
+ $factory->createHSpacing($hbox, 1.0);
my $media_name = $factory->createInputField($hbox, "", 0);
$media_name->setWeight($yui::YD_HORIZ, 2);