[yast-commit] r45279 - /trunk/ycp-ui-bindings/examples/Tree2.ycp
Author: sh-sh-sh Date: Fri Mar 7 12:44:41 2008 New Revision: 45279 URL: http://svn.opensuse.org/viewcvs/yast?rev=45279&view=rev Log: force reasonable height even for ncurses Modified: trunk/ycp-ui-bindings/examples/Tree2.ycp Modified: trunk/ycp-ui-bindings/examples/Tree2.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/ycp-ui-bindings/examples/Tree2.ycp?rev=45279&r1=45278&r2=45279&view=diff ============================================================================== --- trunk/ycp-ui-bindings/examples/Tree2.ycp (original) +++ trunk/ycp-ui-bindings/examples/Tree2.ycp Fri Mar 7 12:44:41 2008 @@ -10,55 +10,57 @@ UI::OpenDialog( `VBox( - `Tree(`id(`dest_dir), - `opt(`notify), - "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>") - ] - ) - ] ), + `MinHeight( 14, + `Tree(`id(`dest_dir), + `opt(`notify), + "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>") + ] + ) + ] ) + ), `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
participants (1)
-
sh-sh-sh@svn.opensuse.org