Scrollbar to panel
13 posts
• Page 1 of 1
Scrollbar to panel
Hi!,
How do i add a scrollbar to a panel in web version.
Thank You
How do i add a scrollbar to a panel in web version.
Thank You
- reversedr
- Posts: 35
- Joined: Tue Oct 23, 2018 11:03 am
Re: Scrollbar to panel
without adding a table to the group?
- reversedr
- Posts: 35
- Joined: Tue Oct 23, 2018 11:03 am
Re: Scrollbar to panel
Did you use an UIScrollPanel?
-
Support@SIB - Posts: 353
- Joined: Mon Sep 28, 2009 1:56 pm
Re: Scrollbar to panel
Hi
I replaced all my UIPanel() to UIScrollPanel() but still cannot see a scrollbar .
Do i need to change other things ?
Thank you
I replaced all my UIPanel() to UIScrollPanel() but still cannot see a scrollbar .
Do i need to change other things ?
Thank you
- reversedr
- Posts: 35
- Joined: Tue Oct 23, 2018 11:03 am
Re: Scrollbar to panel
It depends on your layout, because if you add the scroll panel to a panel with border layout, then the space can't grow and no scrollbar will appear.
Be sure to use a Formlayout and don't attach the scrollpanel to the bottom anchor. This makes it possible to grow...
Be sure to use a Formlayout and don't attach the scrollpanel to the bottom anchor. This makes it possible to grow...
-
Support@SIB - Posts: 353
- Joined: Mon Sep 28, 2009 1:56 pm
Re: Scrollbar to panel
Hi
Manage to make a scrollbar appear but only when running as Desktop application... in Browser it does not show...
Any workaround?
Thank You
Manage to make a scrollbar appear but only when running as Desktop application... in Browser it does not show...
Any workaround?
Thank You
- reversedr
- Posts: 35
- Joined: Tue Oct 23, 2018 11:03 am
Re: Scrollbar to panel
Please post a simple example.
- rjahn
- Posts: 41
- Joined: Sun Sep 13, 2009 1:54 pm
Re: Scrollbar to panel
In visionX
1. create a new Application
2. add some editors to the panel
3. In Eclipse change all UIPanel to UIScrollPanel
4. Test as Desktop application , and resize the window (reduce size) , the scrollbar appears.
5. Test as as HTML5 application in Browser, and resize the window (reduce size) , no scrollbars appears...
1. create a new Application
2. add some editors to the panel
3. In Eclipse change all UIPanel to UIScrollPanel
4. Test as Desktop application , and resize the window (reduce size) , the scrollbar appears.
5. Test as as HTML5 application in Browser, and resize the window (reduce size) , no scrollbars appears...
- reversedr
- Posts: 35
- Joined: Tue Oct 23, 2018 11:03 am
Re: Scrollbar to panel
The Scroll implementation in vaadin UI (web) is different. In current VisionX release, it won't work this way. It will work if you add the scroll panel itself with preferred size, which means: add it to the NORTH of a BorderLayout or add it to e.g. 0, 0, -1, 0 of a FormLaoyut. Both will add the scroll area without bottom limit.
In the next VisionX release, this will work without workarounds out-of-the-box.
But this was one reason why the scroll panel isn't available in VisionX.
If you, as developer, use the scroll panel, you should add it right.
There's also another workaround for VisionX which solves the problem once, without coding in every screen. But please ask to your VisionX Consultant for details.
In the next VisionX release, this will work without workarounds out-of-the-box.
But this was one reason why the scroll panel isn't available in VisionX.
If you, as developer, use the scroll panel, you should add it right.
There's also another workaround for VisionX which solves the problem once, without coding in every screen. But please ask to your VisionX Consultant for details.
-
Development@SIB - Posts: 325
- Joined: Mon Sep 28, 2009 1:54 pm
Re: Scrollbar to panel
Hello
Did as you said but still cannot see the scrollbars in Web browser...
Can you post an example ?
Thank You
Did as you said but still cannot see the scrollbars in Web browser...
Can you post an example ?
Thank You
- reversedr
- Posts: 35
- Joined: Tue Oct 23, 2018 11:03 am
Re: Scrollbar to panel
Do you work with Desktop, Enterprise or Trial Version of VisionX?
-
Support@SIB - Posts: 353
- Joined: Mon Sep 28, 2009 1:56 pm
Re: Scrollbar to panel
Please try the latest version 5.2.23. It's available in your download area.
-
Support@SIB - Posts: 353
- Joined: Mon Sep 28, 2009 1:56 pm
13 posts
• Page 1 of 1