Moving splitter bar

Hi,

I presume this has something todo with wxWidgets but I'm not sure.
I hope I can explain this in an understandable manner. :slight_smile:

When you want to change the size of the pspliiter panes i.e. move the splitter bar. The cursor which is displayed when you can click and move the bar is displayed to early. Or the cursor is displayed correctly but the width of the bar is not calculated properly when clicking and draging.

To see what I mean try the following:
Start the demo. and move the mouse slowly towards a splitter bar.
As soon as the cursor changes stop moving the mouse and click to drag
the splitter bar. The bar won't be grabbed.

Hoping this made sense.
    Adi

Adi Sieker wrote:

Hi,

I presume this has something todo with wxWidgets but I'm not sure.
I hope I can explain this in an understandable manner. :slight_smile:

When you want to change the size of the pspliiter panes i.e. move the splitter bar. The cursor which is displayed when you can click and move the bar is displayed to early. Or the cursor is displayed correctly but the width of the bar is not calculated properly when clicking and draging.

To see what I mean try the following:
Start the demo. and move the mouse slowly towards a splitter bar.
As soon as the cursor changes stop moving the mouse and click to drag
the splitter bar. The bar won't be grabbed.

While I'm futzing around with wxSplitterWindow I'll take a look at this too.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!