Try to use qx.ui.basic.Label (with rich=true) instead. The HTML embed  
do not support the auto-sizing features.

Sebastian


Am 30.10.2008 um 12:20 schrieb Siarhei Barysiuk:

> Hello,
>
> I'm going to use a scroll container in my app, I like a possibility to
> change a look of scroll bars.
> I run an example from documentation and it works great. But I have
> following question which
> is closer to real situation.
>
> For example I have a qx.ui.embed.Html element. It can contain
> different html content and i can't
> predict which height it will have. So, I could use overflowY property
> to control this. But I would like
> to use scroll container to do the same.
>
> I think the main idea how I can achieve this it's to put a html
> element into a scroll container and
> "say" that  it(html element) should show all its content. Looks
> simple. But I couldn't do it. The
> problem is how to "say" for Html element to use its "real" height.
> I've tried to play with shrink/grow mode,
> passed height "100%" to container, etc. with no success. If I set
> height explicitly it works like in examples.
>
> Is it possible to use an element which have different height depends
> on content inside qx.ui.container.Scroll
> without setting height explicitly to this element? If you found where
> I could check it in documentation I would
> really appreciate because after some research I've not found it.
>
> Thanks,
> Siarhei
>
> P.S. BTW,  there is a page describing a scroll container but links on
> this page are broken (or may be under
> development). Here it is, http://qooxdoo.org/documentation/0.8/widget/scroll 
> .
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to