Author |
Message |
05/07/2016 06:23:19
|
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
|
Filename |
foldablepane2.jpg |
Download
|
Description |
|
Filesize |
23 Kbytes
|
Downloaded: |
480 time(s) |
|
Filename |
foldablepane1.jpg |
Download
|
Description |
|
Filesize |
44 Kbytes
|
Downloaded: |
432 time(s) |
|
|
|
05/07/2016 06:48:00
|
CaptainCasa
Power User
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 |
|
|
05/07/2016 06:59:34
|
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
|
|
|
07/09/2018 05:37:49
|
mreich
Power User
Joined: 30/01/2009 08:34:23
Messages: 744
Offline
|
Hi Björn,
the trick doesn't work in RISC environement :-/
br
Markus
|
|
|
24/09/2020 09:21:07
|
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 |
Download
|
Description |
The result in the good old Swing client |
Filesize |
5 Kbytes
|
Downloaded: |
341 time(s) |
Filename |
RISC_client.PNG |
Download
|
Description |
The result in the RISC client (current Chrome browser) |
Filesize |
6 Kbytes
|
Downloaded: |
301 time(s) |
Filename |
casa_editor.PNG |
Download
|
Description |
The setup in the component tree |
Filesize |
4 Kbytes
|
Downloaded: |
293 time(s) |
|
|
|
25/09/2020 05:12:58
|
CaptainCasa
Power User
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 |
|
|
25/09/2020 10:15:57
|
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
|
|
|
25/09/2020 15:16:15
|
CaptainCasa
Power User
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 |
|
|
29/09/2020 10:59:53
|
CaptainCasa
Power User
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 |
|
|
06/10/2020 13:49:30
|
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.
|
|
|
|