diff options
author | Maarten Vanraes <alien@mageia.org> | 2016-01-17 15:30:02 +0100 |
---|---|---|
committer | Maarten Vanraes <alien@mageia.org> | 2016-02-01 20:07:50 +0100 |
commit | 0afaaae36d05e2c9c275193636049a209a745faf (patch) | |
tree | 72072b913187ebc6364103d8519f345afd2136f5 /lib/ManaTools/Shared | |
parent | 2836dc857e665da99988d00adb5c5a7a454f6860 (diff) | |
download | manatools-0afaaae36d05e2c9c275193636049a209a745faf.tar manatools-0afaaae36d05e2c9c275193636049a209a745faf.tar.gz manatools-0afaaae36d05e2c9c275193636049a209a745faf.tar.bz2 manatools-0afaaae36d05e2c9c275193636049a209a745faf.tar.xz manatools-0afaaae36d05e2c9c275193636049a209a745faf.zip |
force buttons to be always at the bottom of a dialog
Diffstat (limited to 'lib/ManaTools/Shared')
-rw-r--r-- | lib/ManaTools/Shared/GUI/Dialog.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ManaTools/Shared/GUI/Dialog.pm b/lib/ManaTools/Shared/GUI/Dialog.pm index 317b71d9..6bb03af6 100644 --- a/lib/ManaTools/Shared/GUI/Dialog.pm +++ b/lib/ManaTools/Shared/GUI/Dialog.pm @@ -400,10 +400,11 @@ sub addButtons { ### buttons on the last line $factory->createVSpacing($layout, 1.0); - my $buttonbox = $factory->createHBox($layout); + my $align = $factory->createBottom($layout); + my $buttonbox = $factory->createHBox($align); ## Left side - my $align = $factory->createLeft($buttonbox); + $align = $factory->createLeft($buttonbox); my $hbox = $factory->createHBox($align); $self->addWidget('aboutButton', |