Author |
Message |
07/01/2010 12:47:03
|
heyl
Power User
Joined: 10/01/2008 09:41:55
Messages: 267
Location: Ettlingen
Offline
|
Hello Björn,
is there any possibility to use a scrollpane with only one scroll bar (i.e. vertical) without having to set a fix size for the width property?
The problem is, that the pane should calculate its width automatically from the underlying components. In the normal pane component I may leave the width field empty in order to achieve that. But that does not work with the scrollpane.
Have you any suggestions for me?
Thanks Frauke
|
|
|
07/01/2010 13:04:12
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5520
Offline
|
Hi Frauke,
a SCROLLPANE requires both definitions, that's the status quo. So the answer to your question is - no possibility...
So the suggestion is: define the size "properly" and use (somewhere within the SCROLLPANE) percentage sizing, so that you do not have to fight with pixel values too much.
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
07/01/2010 13:23:48
|
heyl
Power User
Joined: 10/01/2008 09:41:55
Messages: 267
Location: Ettlingen
Offline
|
Hi Björn,
no that won't do because we have some dynamic resizing in there.
Other question:
It would alternativly help if the outlookbar component would have an vertical scrollbar. So that I would not be forced to place it inside a scrollpane.
Frauke
|
|
|
07/01/2010 15:41:59
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5520
Offline
|
Hi,
if you have dynamic content then you could do the following:
Code:
Now:
SCROLLPANE width="xxx" height="yyy
DYNAMICCONTENT
Change to;
PANE height="yyy" (NO width definition)
ROW
PANE height="0" (NO width definition)
DYNCONTENT_STRETCHER
ROW
SCROLLPANE width="100%" height="100%"
DYNAMICCONTENT
So in parallel, to building up the content, build up an invisible "strech content" in front of the DYNAMICCONTENT.
You question with OUTLOOKBAR... - hmm, I am not really sure what you mean...
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
07/01/2010 17:45:49
|
heyl
Power User
Joined: 10/01/2008 09:41:55
Messages: 267
Location: Ettlingen
Offline
|
Hi Björn,
hmm, I don't understand this, how should I know anything about the stretcher if the width depends on the dynamic contents itself?
Ok, never mind, I got some other solution in the meantime. I set fix sizes for the underlying components and calculate the width accordingly.
That is only a small lack of configurability because we had configured the widths in the style.xml. But that’s not grave.
The outlookbar question only meant, that if it had an vertical scrollbar itself, I wouldn't have the problem at all....
I want it to scroll vertically but not horizontally.
Thanks anyway.
Frauke
|
|
|
09/04/2015 18:36:29
|
fschlott
Power User
Joined: 13/03/2009 19:09:22
Messages: 38
Offline
|
Hi Björn,
i just have a similar problem.
So i need a to scroll inside a outlookbar.
I have a scrollpane with verticalscrollmode = always and height=100%. Inside the scrollpane i have a outlookbar height = 100% which is dynamically filled.
So on big screens its working, but if the customer uses it on laptop-screens the content of the outlookbar isn´t fully visible. And the button at the bottom can´t be seen either. The scrollbar of the scrollpane is not active.
So verticalsscrollmode inside the outlookbar would be great.
I have one screenshot attached.
Code:
<t:row id="g_105" >
<t:scrollpane id="g_106" height="100%" horizontalscrollmode="auto" stylevariant="outlookbar" verticalscrollmode="always" >
<t:row id="g_107" >
<t:outlookbar id="g_108" height="100%" componentbinding="#d.WorkplacecdUI.outlookbar}" value="#d.WorkplacecdUI.outlookbarValue}" width="100%;165" />
</t:row>
<t:rowdistance id="g_110" height="5" />
</t:scrollpane>
</t:row>
Best regards
Frank
|
Filename |
outlookbar1.jpg |
Download
|
Description |
Outlookbar with just three components inside. |
Filesize |
14 Kbytes
|
Downloaded: |
463 time(s) |
|
Filename |
outlookbar2.jpg |
Download
|
Description |
Outlookbar with 11 components inside. |
Filesize |
25 Kbytes
|
Downloaded: |
452 time(s) |
|
|
|
14/04/2015 08:01:51
|
fschlott
Power User
Joined: 13/03/2009 19:09:22
Messages: 38
Offline
|
Hi,
so this is solved via telephone conference.
Thanks
Best regards
Frank
|
|
|
|