Author: kmachalkova Date: Wed Nov 12 14:02:13 2008 New Revision: 53197 URL: http://svn.opensuse.org/viewcvs/yast?rev=53197&view=rev Log: Improved layout (looked cluttered in ncurses) + use ButtonBox Modified: trunk/network/src/services/host.ycp Modified: trunk/network/src/services/host.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/src/services/host.ycp?rev=53197&r1=53196&r2=53197&view=diff ============================================================================== --- trunk/network/src/services/host.ycp (original) +++ trunk/network/src/services/host.ycp Wed Nov 12 14:02:13 2008 @@ -276,19 +276,22 @@ //y2debug("forbidden=%1", forbidden); UI::OpenDialog(`opt(`decorated),`VBox( - `HSpacing(1), - `VBox( - /* TextEntry label */ - `TextEntry(`id(`host), _("&IP Address"), entry[1]:""), - /* TextEntry label */ - `TextEntry(`id(`name), Label::HostName (), entry[2]:""), - /* TextEntry label */ - `TextEntry(`id(`aliases), _("Hos&t Aliases"), entry[3]:"") - ), - `HSpacing(1), - `HBox( - `PushButton(`id(`ok), `opt(`default), Label::OKButton()), - `PushButton(`id(`cancel), Label::CancelButton()) + `MarginBox(1.5, 0, + `VBox( + `HSpacing(20), + /* TextEntry label */ + `TextEntry(`id(`host), _("&IP Address"), entry[1]:""), + `VSpacing(0.5), + /* TextEntry label */ + `TextEntry(`id(`name), Label::HostName (), entry[2]:""), + /* TextEntry label */ + `VSpacing(0.5), + `TextEntry(`id(`aliases), _("Hos&t Aliases"), entry[3]:"") + ) + ), + `ButtonBox( + `PushButton(`id(`ok), `opt(`default, `okButton), Label::OKButton()), + `PushButton(`id(`cancel), `opt(`cancelButton), Label::CancelButton()) ) )); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org