« Return to Thread: fxscrollwindow
It may be due to the following causes:On Tuesday 02 June 2009, n d wrote:
> Hi again everyone. Quick question about FXScrollWindow: is it just me, or
> does the setPosition() function not work? whenever i call the call the
> function the scroll bar never moves. Any suggestions as to why this is
> happening?
1) FXScrollWindow's child (contentWindow) has a size which is smaller than
the FXScrollWindow's viewport. Obviously, in such a case it never needs
scrolling. Depending on the flags, scrollbars may or may not be visible.
2) You've turned scrolling off.
3) The contentWindow's layout hints are such (e.g. LAYOUT_FILL_X or LAYOUT_FILL_Y)
that it will be placed to fill the viewport area.
4) It does scroll, but has no change to repaint.
These are some of the things I can think off...
- Jeroen
--
+----------------------------------------------------------------------------+
| Copyright (C) 23:30 06/ 2/2009 Jeroen van der Zijp. All Rights Reserved. |
+----------------------------------------------------------------------------+
« Return to Thread: fxscrollwindow
| Free embeddable forum powered by Nabble | Forum Help |