Author: sh-sh-sh Date: Mon Feb 9 11:50:57 2009 New Revision: 55334 URL: http://svn.opensuse.org/viewcvs/yast?rev=55334&view=rev Log: Reasonable initial size Modified: trunk/ycp-ui-bindings/examples/Tree1.ycp Modified: trunk/ycp-ui-bindings/examples/Tree1.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/ycp-ui-bindings/examples/Tree1.yc... ============================================================================== --- trunk/ycp-ui-bindings/examples/Tree1.ycp (original) +++ trunk/ycp-ui-bindings/examples/Tree1.ycp Mon Feb 9 11:50:57 2009 @@ -2,54 +2,55 @@ { UI::OpenDialog( `VBox( - `Tree(`id(`dest_dir), - "Select destination directory:", - [ - `item(`id(`root), "/" , true, - [ - `item(`id(`etc), "etc", - [ - `item("opt"), - `item("SuSEconfig"), - `item("X11") - ] - ), - `item("usr", false, - [ - "bin", - "lib", - `item("share", - [ - "man", - "info", - "emacs" - ] - ), - `item(`id(`usr_local),"local"), - `item("X11R6", - [ - "bin", - "lib", - "share", - "man", - "etc" - ] - ) - ] - ), - `item(`id(`opt), "opt", true, - [ - "kde", - "netscape", - "Office51" - ] - ), - `item("home"), - "work", - `item(`id(`other), "<other>") - ] - ) - ] ), + `MinSize( 30, 10, + `Tree(`id(`dest_dir), + "Select destination directory:", + [ + `item(`id(`root), "/" , false, + [ + `item(`id(`etc), "etc", + [ + `item("opt"), + `item("SuSEconfig"), + `item("X11") + ] + ), + `item("usr", false, + [ + "bin", + "lib", + `item("share", + [ + "man", + "info", + "emacs" + ] + ), + `item(`id(`usr_local),"local"), + `item("X11R6", + [ + "bin", + "lib", + "share", + "man", + "etc" + ] + ) + ] + ), + `item(`id(`opt), "opt", false, + [ + "kde", + "netscape", + "Office51" + ] + ), + `item("home", false), + `item(`id(`other), "<other>") + ] + ) + ] ) + ), `HBox( `PushButton(`id(`sel_opt), `opt(`hstretch), "/&opt" ), `PushButton(`id(`sel_usr), `opt(`hstretch), "/&usr" ), -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org