[yast-commit] r62570 - /trunk/ycp-ui-bindings/examples/RichText3.ycp

Author: gs Date: Thu Oct 7 14:12:40 2010 New Revision: 62570 URL: http://svn.opensuse.org/viewcvs/yast?rev=62570&view=rev Log: improve examples for pre tag 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/RichText... ============================================================================== --- trunk/ycp-ui-bindings/examples/RichText3.ycp (original) +++ trunk/ycp-ui-bindings/examples/RichText3.ycp Thu Oct 7 14:12:40 2010 @@ -7,27 +7,24 @@ + "<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\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" + " much much more text .... follows " + " much much more text .................</p>" - + "<p>" - + "<pre>another pre t t </pre>" - + "and much more text after pre is closed, now <b>HTML</b> text " + + "<pre><small>another pre t t </small></pre>" + + "<p>and more text after pre is closed, now <b>HTML</b> text " + "</p>" - + "<pre>" + + "<pre>Another text in pre preserving spaces and newlines\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" + "</pre>" - + "<p>and even much more text but now not wrapped at old place but with new layout of the pad widget which is underlying the richtext widget</p>" + + "<p>And after closing pre tag much more text - <b>long</b> long long long long lines are now wrapped again, this is a very very very very long long long long long long line <i>Even</i> longer and longer</p>" + "<p><pre>And another short pre</pre></p>" ), `PushButton(`opt(`default), "&OK") -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
gs@svn2.opensuse.org