Hi,
If I have an UltraLabel with AutoSize=True and TextRenderingMode=GDI then the text is always wrapped. e.g. if the label text is 'Choose the closest region' then it is split over 4 lines with 1 word per line.
Changing either the TextRenderingMode to GDI+ (absolutely no chance I will do that), turning off AutoSize or changing WrapText to false (True is the default value) displays it on a single line.
This looks like it is a breaking change in the 2008.3 hotfix as my existing labels suddenly suffered this problem after installing it.
Thanks
Martin.
Hi Martin,
What behavior has changed? You should probably Submit an incident to Infragistics Developer Support if there has been a breaking change in the behavior of the control.
All of the existing ultralabels became broken over multiple lines, so I have had to go over every label in the application and turn off the autosize property and size the control manually...
e.g. 'Choose the closest region' which was previously on a single autosized line became
'Choose
the
closest
region'
when I re-open the form after the hotfix.
I'll submit a report thx.
I have the same problem (using 9.1).
You can see in the designer that the label immediately expands to 70 pixels.
Is this fixed already or have you found an other workaround?
The issue I reported was fixed and is still ok in 9.2
Issue "16310: UltraLabel control is not working as expected with AutoSize to True" has been addressed in service release versions 8.3.20083.2066 CLR 2.0, 9.1.20091.2009 CLR 2.0.
rgds
I tried it in 9.2 but I have this problem:
And you will see that the heigth of the label is set to 70 pixels.
Very annoying if you have labels in a flowlayout like me ;-)
I followed your steps, but nothing happens - the label stays the same size it was.
Do you have the latest service release?
Downloaded SR 2093 and this solves this. Thanks Mike!