Author: gs Date: Tue Mar 17 13:47:15 2009 New Revision: 56171 URL: http://svn.opensuse.org/viewcvs/yast?rev=56171&view=rev Log: better text for example Modified: trunk/ycp-ui-bindings/examples/RichText3.ycp Modified: trunk/ycp-ui-bindings/examples/RichText3.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/ycp-ui-bindings/examples/RichText3.ycp?rev=56171&r1=56170&r2=56171&view=diff ============================================================================== --- trunk/ycp-ui-bindings/examples/RichText3.ycp (original) +++ trunk/ycp-ui-bindings/examples/RichText3.ycp Tue Mar 17 13:47:15 2009 @@ -3,13 +3,16 @@ UI::OpenDialog( `opt(`defaultsize), `VBox( `RichText( "<h3>RichText example</h3>" - + "<p>This is a <i>RichText</i> widget. The ncurses UI wraps lines automatically - Qt breaks lines and uses a vertical scroll bar.</p>" + + "<p>This is a <i>RichText</i> widget. Lines are wrapped automatically, this is a very very very very long long long long long long line .</p>" + "<p>It's very much like <i>HTML</i>, but not quite as powerful.</p>" + "<p>Text in <b>pre</b> tags preserves newlines and spaces.</p>" + "<pre>" + + "\n" + " host ip adress host ip adress\n" - + " sturm 10.10.0.159 sturm 10.10.0.159\n" - + "Lines are not wrapped; in text mode HTML tags are <b>not</b> removed if the pre tag is used.\n" + + " sturm 10.10.0.159 sturm 10.10.0.159\n\n" + + "Lines are not wrapped; in text mode HTML tags are <b>not</b> removed if the pre tag is used, " + + "but entities like product: &product; are filtered and shown correctly.\n" + + "\n" + "</pre>" + "<p>After <b>/pre</b> the text is <i>HTML</i> text like before.</p>" + "<p>Much much more text .............. continous" @@ -17,9 +20,9 @@ + " much much more text .................</p>" + "<p>" + "<pre>another pre t t </pre>" - + "and much more text hopefully now displayed correctly" + + "and much more text after pre is closed, now <b>HTML</b> text " + "</p>" - + "<pre>" + + "<pre>" + " host ip adress host ip adress\n" + " sturm 10.10.0.159 sturm 10.10.0.159\n" + "Lines are not wrapped; in text mode HTML tags are <b>not</b> removed if the pre tag is used.\n" -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org