Actions
Bug #1011
closedWScrollBar->setValue()
Start date:
10/04/2011
Due date:
% Done:
0%
Estimated time:
Description
Dear Koen,
I was trying to set the vertical scrollbar position using the setValue method, but unfortunately it didn't work.
The tie method works great, but the setValue not.
WScrollArea *sa = new WScrollArea();
sa->setWidth( 100 );
sa->setHeight( 100 );
// adding WContainerWidget with text to WScrollArea
sa~~verticalScrollBar()~~>setValue( 50 );
May be I've forgot something to type?
Could you give me any advise to solve this problem?
Here is my example:
http://redmine.webtoolkit.eu/attachments/463/proba.cpp
Thanks in advance!
Daniel
Updated by Koen Deforche about 13 years ago
- Status changed from New to InProgress
- Assignee set to Pieter Libin
- Target version set to 3.2.0
Is probably a duplicate of #1001
Updated by Pieter Libin about 13 years ago
This is fixed now.
Make sure to express the value in pixels though.
Updated by Pieter Libin about 13 years ago
- Status changed from InProgress to Resolved
Updated by Koen Deforche almost 13 years ago
- Status changed from Resolved to Closed
Actions