[yast-commit] r39962 - in /trunk/installation: package/yast2-installation.changes src/clients/inst_network_setup.ycp
Author: locilka Date: Mon Aug 6 09:30:16 2007 New Revision: 39962 URL: http://svn.opensuse.org/viewcvs/yast?rev=39962&view=rev Log: - First stage network setup dialog - changes in dialog alignment (#295043). Modified: trunk/installation/package/yast2-installation.changes trunk/installation/src/clients/inst_network_setup.ycp Modified: trunk/installation/package/yast2-installation.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/package/yast2-installation.changes?rev=39962&r1=39961&r2=39962&view=diff ============================================================================== --- trunk/installation/package/yast2-installation.changes (original) +++ trunk/installation/package/yast2-installation.changes Mon Aug 6 09:30:16 2007 @@ -4,6 +4,8 @@ - Renamed product/default repositories check-box to "Add Internet Repositories Before Installation" (#297580). - Added help for that check-box (#296810). +- First stage network setup dialog - changes in dialog alignment + (#295043). ------------------------------------------------------------------- Thu Aug 2 08:53:56 CEST 2007 - jsrain@suse.cz Modified: trunk/installation/src/clients/inst_network_setup.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/src/clients/inst_network_setup.ycp?rev=39962&r1=39961&r2=39962&view=diff ============================================================================== --- trunk/installation/src/clients/inst_network_setup.ycp (original) +++ trunk/installation/src/clients/inst_network_setup.ycp Mon Aug 6 09:30:16 2007 @@ -602,10 +602,11 @@ } symbol NetworkSetupDialog () { - Wizard::SetContentsButtons ( - // TRANSLATORS: dialog caption - _("Network Setup"), + // centered & aligned dialog + // see bugzilla #295043 + term netsetup_dialog = `VBox ( + `VStretch(), `Left (`Label (sformat( // TRANSLATORS: dialog label, %1 is replaced with a selected network device name, e.g, eth3 // See *2 @@ -641,26 +642,38 @@ )) )), `VSpacing (2), - `VSquash (`Left ( - `CheckBoxFrame ( - `id ("use_proxy"), - _("&Use Proxy for Accessing the Internet"), - false, - `VBox ( - `Left (`HBox ( - `HSquash (`MinWidth (42, `TextEntry (`id ("proxy_server"), _("&HTTP Proxy Server"), "http://"))), - `HSpacing (0.5), - `HSquash (`MinWidth (6, `ComboBox (`id ("proxy_port"), `opt (`editable), _("&Port"), [ "", "3128", "8080" ]))) - )), - `Left (`HBox ( - `HSquash (`MinWidth (14, `TextEntry (`id ("proxy_user"), _("Us&er (Optional)")))), - `HSpacing (0.5), - `HSquash (`MinWidth (14, `Password (`id ("proxy_password"), _("Pass&word (Optional)")))) - )) - ) + `VSquash ( + `HBox ( + `HSpacing (4), + `Left (`CheckBoxFrame ( + `id ("use_proxy"), + _("&Use Proxy for Accessing the Internet"), + false, + `VBox ( + `Left (`HBox ( + `HSquash (`MinWidth (42, `TextEntry (`id ("proxy_server"), _("&HTTP Proxy Server"), "http://"))), + `HSpacing (0.5), + `HSquash (`MinWidth (6, `ComboBox (`id ("proxy_port"), `opt (`editable), _("&Port"), [ "", "3128", "8080" ]))) + )), + `Left (`HBox ( + `HSquash (`MinWidth (14, `TextEntry (`id ("proxy_user"), _("Us&er (Optional)")))), + `HSpacing (0.5), + `HSquash (`MinWidth (14, `Password (`id ("proxy_password"), _("Pass&word (Optional)")))) + )) + ) + )) ) - )), + ), `VStretch() + ); + + Wizard::SetContentsButtons ( + // TRANSLATORS: dialog caption + _("Network Setup"), + `HBox ( + `HStretch(), + netsetup_dialog, + `HStretch() ), // TRANSLATORS: dialog help 1/2 _("<p><big><b>Network Setup</b></big> -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
locilka@svn.opensuse.org