The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.
Hello, I noticed that if I put a description within a container, and you stretch the dialog out horizontally. The description will get shorter (because there are less text wraps) but the container (box or grid) will not shrink with it.
For example, the following will work fine (if I expand the dialog, the "Second Description" will stay against the first description when it shrinks heightwise):
<groupbox scroll="vertical" orient="vertical" resize="both" pack="start">
<description width="200" multiline="true" backgroundcolor="#d6efff" resize="width">Some Text Some Text Some Text Some TextSome TextSome Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some TextSome Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some TextSome Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text</description>
<description width="200" multiline="true" resize="width" backgroundcolor="#ffffff">Second Description</description>
</groupbox>
However, if I have issues wrap the description in a box (or grid), even if I use "natural" which states “the control resizes if necessary depending on size changes in its children”. It wont resize (down) with the description, which causes a gap between the first and "Second Description":
<groupbox scroll="vertical" orient="vertical" resize="both" pack="start">
<box resize="natural">
<description width="200" multiline="true" backgroundcolor="#d6efff" resize="width">Some Text Some Text Some Text Some TextSome TextSome Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some TextSome Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some TextSome Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text</description>
</box>
<description width="200" multiline="true" resize="width" backgroundcolor="#ffffff">Second Description</description>
</groupbox>
Is this a defect? Is there a workaround? Am I just doing something wrong?
Thanks
Hi,
Although I do a fair amount of XUI coding, I don't do anything with resizing, so I can't help directly.
Your best bet, if you haven't solved this or moved on already, is to join the Adepters mailing list where lots and lots of Arbortext users, admins, and developers hang out 24/7/365. Information on joining that list (as well as pointers to lots of other Arbortext resources) can be found here:
http://blog.single-sourcing.com/top-arbortext-resources
See also:
http://www.single-sourcing.com/company/social.html
Good luck!