[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Request: Textcontrols with multi lines and height adjusted to contents  XML
Forum Index -> Development
Author Message
moebus

Power User

Joined: 21/11/2007 12:49:18
Messages: 93
Offline

We need to display text that should wrap to multiple lines if too long. This is needed for plain text (here we could use textarea with enabled=false), but we also would like to have theis multiline thing for the "link" item.

Because the height is variable, the control must adjust it accordingly.
For some controls this feature is already implemented regarding their width (e.g. button and label), so this should be augmented for the height.

CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5520
Offline

The TEXTPANE does exactly this. So at the moment we recommend to use the text pane and then place some fix link or icon above/below.

To be honest, we want to reduce the number of components to a minimum which are dynamically sizeable - because they cause much more effort when sizing than components with defined height/width. With effort I mean runtime effort: there is a always an "n-phase" rendering - first the width is defined, then it is checked what the component's height now really is, then a complete re-calculation of positions need to be started because this may also effect other components (which are e.g. defined by percentage).

We an add some "onClick" behaviour and "rollover behaviour" on the text pane. I thinks this should be sufficient... or?

Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team