My app has a wxScrollWindow as the main interface. Using GTK, wxPython 2.4
leaves a line across the window when the scroll bars are used to move
around. These lines are faint and grey. This wasn't the case with 2.3.
Any ideas?
Nigel
···
--
Nigel W. Moriarty
Building 4R0230
Physical Biosciences Division
Lawrence Berkeley National Laboratory
Berkeley, CA 94720-8235
Phone : 510-486-5709
Fax : 510-486-5909
Email : NWMoriarty@LBL.gov
Web : CCI.LBL.gov
My app has a wxScrollWindow as the main interface. Using GTK, wxPython 2.4
leaves a line across the window when the scroll bars are used to move
around. These lines are faint and grey. This wasn't the case with 2.3. Any ideas?
An off-by-one error somewhere. Does the wxScroledWindow sample in the demo do it? (It doesn't here.)
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
DC (579, 475)
ScrollWindow (583, 479)
virtual (530, 240)
and later when I've increased the virtual size by adding objects to the
window it's
DC (564, 460)
ScrollWindow (583, 479)
virtual (950, 650)
and I get to lines in both cases.
Nigel
···
On Fri, 31 Jan 2003 13:20:11 -0800 Robin Dunn <robin@alldunn.com> wrote:
Nigel Moriarty wrote:
> On Fri, 31 Jan 2003 12:23:15 -0800 Robin Dunn <robin@alldunn.com> > wrote:
>
> Robin
>
> The demo works just fine and I even added some of the events I have
like
> EVT_BACKGROUND. I put in a print statement and the DC is a different
size
> from the scrollwindow. This is after I PrepareDC (which has no effect
on
> the numbers).
>
> DC.GetSize() -> (579, 475)
> ScrollWindow.GetSize() -> (583, 479)
>
What is the virtual size of the scrolled window? (Try GetVirtualSize())
--
Nigel W. Moriarty
Building 4R0230
Physical Biosciences Division
Lawrence Berkeley National Laboratory
Berkeley, CA 94720-8235
Phone : 510-486-5709
Fax : 510-486-5909
Email : NWMoriarty@LBL.gov
Web : CCI.LBL.gov