Author: gs Date: Wed Feb 8 14:31:12 2012 New Revision: 67383 URL: http://svn.opensuse.org/viewcvs/yast?rev=67383&view=rev Log: additional test for text in <pre> Added: trunk/ycp-ui-bindings/examples/RichText5.ycp Added: trunk/ycp-ui-bindings/examples/RichText5.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/ycp-ui-bindings/examples/RichText5.ycp?rev=67383&view=auto ============================================================================== --- trunk/ycp-ui-bindings/examples/RichText5.ycp (added) +++ trunk/ycp-ui-bindings/examples/RichText5.ycp Wed Feb 8 14:31:12 2012 @@ -0,0 +1,12 @@ +// Example for a RichText widget +{ + UI::OpenDialog( `opt(`defaultsize), + `VBox( + `RichText( "<pre>\--- /.snapshots/4/snapshot/var/lib/zypp/RequestedLocales\t2011-12-08 17:09:23.312007703 +0800<br>+++ /.snapshots/5/snapshot/var/lib/zypp/RequestedLocales\t2011-12-08 18:39:35.461081330 +0800<br>@@ -1,4 +1,4 @@<br>-# zypp::RequestedLocales generated Thu 08 Dec 2011 05:09:23 PM WST<br>+# zypp::RequestedLocales generated Do 08 Dez 2011 18:39:35 WST<br> #<br>-de_DE<br>+en_US<br> #<br></pre>" + ), + `PushButton(`opt(`default), "&OK") + ) + ); + UI::UserInput(); + UI::CloseDialog(); +} -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org