"Alexander Trauzzi" <[EMAIL PROTECTED]> writes:

> I apologize for the volume I'm putting through the mailing list, if anyone
> wants to just talk to me outside of the list, please let me know.

Alexander, your questions are entirely appropriate for this list.  Don't worry
about the volume.

> I've managed to get the label to size it's height correctly, but now the
> test is being truncated, with "..." added.  This is a NICE feature that I'm
> actually interested in, but at present, I would just want this text to wrap
> instead.
>
> -=-
>            // Information about what we're doing.
>            var requestInfo = new qx.ui.basic.Label("This method will return
> a very simple string based on the data we submitted.  This label's text is
> truncated.");
>            requestInfo.setWidth("100%");
>            requestInfo.setMinHeight("auto");
>            requestInfo.setWrap(true);
>            requestInfo.setBorder(new qx.renderer.border.Border(1, "inset",
> "black"));
>            requestInfo.setPadding(5);
>            userControls.add(requestInfo);

Looking at Label.js, I see that there is a property called
fontPropertiesProfile.  It can take a number of predefined values (and is
currently completely lacking any documentation), but please try adding the
following line right after instantiating your new Label:

  requestInfo.setFontPropertiesProfile("multiline");

Please let me know if this makes any difference.

Cheers,

Derrell

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to