[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Foldablepane  XML
Forum Index -> Development
Author Message
fschlott

Power User

Joined: 13/03/2009 19:09:22
Messages: 38
Offline

Hello,

i have a page with a foldablepane. Inside is a foldablepaneheaderrow.
Now i want to algin the text to the left.

Is there a hidden attribute "align" for the foldablepane? Cause i add a coldistance of 100% behind the text but its aligned to the center instead of left-align.

Does anyone has a hint?

Best regards

Frank
[Thumb - foldablepane2.jpg]
 Filename foldablepane2.jpg [Disk] Download
 Description
 Filesize 23 Kbytes
 Downloaded:  480 time(s)

[Thumb - foldablepane1.jpg]
 Filename foldablepane1.jpg [Disk] Download
 Description
 Filesize 44 Kbytes
 Downloaded:  432 time(s)

CaptainCasa

Power User
[Avatar]

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

...the "problem" is: the title text of the FOLDABLEPANE and the components of the headerrow are arranged in one ROW. The text grabs "100%" by default, so the result of you grabbing also 100% is what you see: both share the available space.

Now I can tell some dirty trick, all others who may observe this discussion should not continue to read here: Assign a width of e.g. "100000%" (yes: one hundered thousand percents) to the text, then "100000%" clear wins over "100%" from the left side...

Regards, Björn

Björn Müller, CaptainCasa GmbH
fschlott

Power User

Joined: 13/03/2009 19:09:22
Messages: 38
Offline

Thanks Björn.

the dirty trick is working. I set 100000% to the coldistance-width
mreich

Power User
[Avatar]

Joined: 30/01/2009 08:34:23
Messages: 744
Offline

Hi Björn,

the trick doesn't work in RISC environement :-/

br
Markus
[WWW]
makaiser

Active

Joined: 27/03/2013 18:37:43
Messages: 15
Offline

Hi.

Any update on this issue after two years? Because it's still not working in a RISC environment.

We try to place an image after the text field of the foldablepane and we can't get it placed right after the text in our RISC environment.


Regards, Manuel
 Filename swing_client.PNG [Disk] Download
 Description The result in the good old Swing client
 Filesize 5 Kbytes
 Downloaded:  341 time(s)

 Filename RISC_client.PNG [Disk] Download
 Description The result in the RISC client (current Chrome browser)
 Filesize 6 Kbytes
 Downloaded:  301 time(s)

 Filename casa_editor.PNG [Disk] Download
 Description The setup in the component tree
 Filesize 4 Kbytes
 Downloaded:  293 time(s)

CaptainCasa

Power User
[Avatar]

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

Manuel,

we never announced/promised to do something here - but gave some "solution" for the Swing client, which we explicitly marked as "dirty trick".

Regards, Björn

Björn Müller, CaptainCasa GmbH
makaiser

Active

Joined: 27/03/2013 18:37:43
Messages: 15
Offline

Hi.

So it's basically bad luck? How about that 'textimage' attribute at the FOLDABLEPANE component. This might be what we are looking for, but it is always drawn in front of the text. Is it possible to get an option to put it after the text?

Regards, Manuel
CaptainCasa

Power User
[Avatar]

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

Hi Manuel,

we just check for some proper solution, so no "dirty tricks" and not "bad luck" ... ;-)

Will give feedback in the next days!

Regards. Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

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

Hi,

we now introduced a proper way for the RISC client: a new attribute FOLDABLEPANE-HEADERFULLWIDTH which can be set to true or false (Default false).

Available from next Monday's update on - or as interim build on your request.

Regards, Björn

Björn Müller, CaptainCasa GmbH
makaiser

Active

Joined: 27/03/2013 18:37:43
Messages: 15
Offline

It works in the RISC client now, but we still need the "10000% hack" for the Swing client though. But for us the solution is good enough. Thanks for your quick help.
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team