Author: aschnell Date: Fri Jun 20 14:54:46 2008 New Revision: 48443 URL: http://svn.opensuse.org/viewcvs/yast?rev=48443&view=rev Log: - fixed layout Modified: branches/tmp/aschnell/part-redesign/storage/src/modules/DualMultiSelectionBox.ycp Modified: branches/tmp/aschnell/part-redesign/storage/src/modules/DualMultiSelectionBox.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/part-redesign/storage/src/modules/DualMultiSelectionBox.ycp?rev=48443&r1=48442&r2=48443&view=diff ============================================================================== --- branches/tmp/aschnell/part-redesign/storage/src/modules/DualMultiSelectionBox.ycp (original) +++ branches/tmp/aschnell/part-redesign/storage/src/modules/DualMultiSelectionBox.ycp Fri Jun 20 14:54:46 2008 @@ -38,21 +38,22 @@ items = new_items; return `HBox( - `VBox( - `MultiSelectionBox(`id(`unsel), unsel_label, MakeUnselContents()), - `ReplacePoint(`id(`unsel_rp), unsel_rp) - ), - `VBox( - `PushButton(`id(`add), _("Add") + " " + UI::Glyph(`ArrowRight)), - `PushButton(`id(`add_all), _("Add All") + " " + UI::Glyph(`ArrowRight)), - `VSpacing(1), - `PushButton(`id(`remove), UI::Glyph(`ArrowLeft) + " " + _("Remove")), - `PushButton(`id(`remove_all), UI::Glyph(`ArrowLeft) + " " + _("Remove All")) - ), - `VBox( - `MultiSelectionBox(`id(`sel), sel_label, MakeSelContents()), - `ReplacePoint(`id(`sel_rp), sel_rp) - ) + `HWeight(1, `VBox( + `MultiSelectionBox(`id(`unsel), unsel_label, MakeUnselContents()), + `ReplacePoint(`id(`unsel_rp), unsel_rp) + )), + `MarginBox(1, 1, + `HSquash(`VBox( + `PushButton(`id(`add), `opt(`hstretch), _("Add") + " " + UI::Glyph(`ArrowRight)), + `PushButton(`id(`add_all), `opt(`hstretch), _("Add All") + " " + UI::Glyph(`ArrowRight)), + `VSpacing(1), + `PushButton(`id(`remove), `opt(`hstretch), UI::Glyph(`ArrowLeft) + " " + _("Remove")), + `PushButton(`id(`remove_all), `opt(`hstretch), UI::Glyph(`ArrowLeft) + " " + _("Remove All")) + ))), + `HWeight(1, `VBox( + `MultiSelectionBox(`id(`sel), sel_label, MakeSelContents()), + `ReplacePoint(`id(`sel_rp), sel_rp) + )) ); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org