ActiveReports for .NET 2.0 Visual Studio .NET 2005 Support

Started by dacevedo at 11-15-2005 11:27 AM. Topic has 0 replies.

Print Search
Sort Posts:    
   11-15-2005, 11:27 AM
dacevedo is not online. Last active: 12/19/2005 9:17:44 PM dacevedo

Not Ranked
Joined on 11-04-2005
Posts 3
Text too long for TextBox is cut off wrong when centered
I have a data field bound to a TextBox, with the settings:
    MultiLine = False
    WordWrap = False
    Alignment = Center

When the text is too long for the TextBox, the text cuts off whole words as if it was being wrapped, instead of cutting off mid word. The word that is left over is not centered peoperly, although it would be if the cutoff part was there. Since it is not, it looks like it is left aligned:

e.g. using "foobar bazqux"
___________
| foobar         |
---------------

If the Alignment is set to Left, the cut off is fine (mid word):

e.g. using "foobar bazqux"
___________
| foobar bazq |
---------------

BTW...It would be nice if there was an option to have ellipses where the text is cut off so people would know something might be missing:

e.g. using "foobar bazqux"
___________
| foobar baz... |
---------------
   Report 
GrapeCity » Forum Archives » ActiveReports f... » Text too long for TextBox is cut off wrong when centered

Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.