mono / xwt

A cross-platform UI toolkit for creating desktop applications with .NET and Mono
MIT License
1.37k stars 241 forks source link

[Mac] VPaned resizes dockable Pad VisualStudioMac 2022 #1107

Open IvoKrugers opened 2 years ago

IvoKrugers commented 2 years ago

I'm building an extension for VisualStudioMac 2022 where I use a VPaned as main content of a pad. When dragging the split- handle the whole pad is re-dimensioning instead of its panels. (This works correctly if I change it to a HPaned)

Expected: Panels in VPaned re-dimension while moving split-handle and keep size after mouse-up

Actual: Pad (Parent Window) re-dimension while moving split-handle and panels return to their original size after mouse-up

Example: https://github.com/IvoKrugers/VisualStudioMac.SimplePad/tree/develop run in Visual studio Mac 2022 preview (or stable fix project references), open any project, goto menu Tool -> Open SimplePads. Pad appears to the right.

Image while dragging:

image