Hi Fritz,

for me finding the right widget is like finding the appropriate 
HTML-Element for marking up information when developing HTML. It's 
always content driven ...

With the different nature of the widgets you listed I would propose
"qx.ui.embed.Html" if it's a larger amount of HTML and 
"qx.ui.basic.Label with setRich(true)" if it's just a couple of words.

"qx.ui.embed.HtmlArea with setEditable(false)" seems like a workaround, 
because it's meant to be a rich text editor widget and disabling it 
instantly feels wrong.

"qx.ui.basic.Atom  with setRich(true)" seems also wrong because you 
don't have an image you want to group the text with, do you?

Read on for advantages/disadvantages:
- http://manual.qooxdoo.org/3.0/pages/widget/html.html
- http://manual.qooxdoo.org/3.0/pages/widget/label.html
- http://manual.qooxdoo.org/3.0/pages/widget/atom.html
- http://demo.qooxdoo.org/3.0/apiviewer/#qx.ui.embed.HtmlArea

Regards
Richard

Am 08.08.13 12:16, schrieb Fritz Zaucker:
> Hi,
>
> I want to display some HTML-formatted "text" in a Qooxdoo desktop
> application. I see at least the following variants:
>
> - qx.ui.basic.Atom  with setRich(true)
> - qx.ui.basic.Label with setRich(true)
> - qx.ui.embed.Html
> - qx.ui.embed.HtmlArea with setEditable(false)
>
> How do I choose which to use? Advantages/disadvantages?
>
> Cheers,
> Fritz


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to