Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 12 of 12 total
Thread TLabel.AutoSize blip
Thu, Feb 14 2013 3:25 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< Is that a Javascript limit, or EWB? Changeable in future, or not? I
suspect using a TPage would be too hard (particularly as I need the height),
but simple highlighting would be nice. >>

This is an EWB limit.  The issues here are:

1) Design-time: need to be able to display at design-time, and currently I
don't have an HTML parser/renderer in the IDE (not that it's particularly
hard).
2) Run-time: there are certain attributes of EWB elements that cannot be
tampered with, so there is some concern about allowing just any type of HTML
in the element.

I'll most likely add a specific control for HTML display and leave the
labels as-is.

Tim Young
Elevate Software
www.elevatesoft.com



Fri, Feb 15 2013 4:08 AMPermanent Link

Matthew Jones

> 1) Design-time: need to be able to display at design-time,

No - don't worry about this. I'm happy that it shows the HTML at design time (I
guess you may not be, but it isn't a requirement). Likewise if I put in HTML that
breaks something, then that's my problem.

> I'll most likely add a specific control for HTML display and leave
> the labels as-is.

That is probably sensible - it could show as a label at design time, but be clever
at run-time. I suggest that you do only the most basic check like bracket matching
and let the developer hang themselves with the rope provided if they choose.

/Matthew Jones/
Previous PagePage 2 of 2
Jump to Page:  1 2
Image