dockview icon indicating copy to clipboard operation
dockview copied to clipboard

bug:After the drag and drop, the size of the group was evenly distributed, and I want to maintain their original size as much as possible

Open zhaijunlei955 opened this issue 1 year ago • 2 comments

1、 image 2、 image

After the drag and drop, the size of the group was evenly distributed, and I want to maintain their original size as much as possible

zhaijunlei955 avatar Jun 25 '24 08:06 zhaijunlei955

I believe this is probably something similar to https://github.com/mathuo/dockview/issues/590

i.e. when it is possible (since it's not always possible to use an exact height and width) use a user-defined preferred height and width

Let me know if that makes sense?

mathuo avatar Jul 06 '24 20:07 mathuo

@mathuo Hi. I also encountered the same problem. After dragging and re-layout, the width or height of the Panel in the entire window was evenly distributed.

expect

  • keep the original Panel width or height as much as possible
  • It is acceptable to split the dropped target group

https://github.com/mathuo/dockview/assets/22001478/9c33916d-2a29-4b09-8b6b-047bdbb60146

ArgoZhang avatar Jul 07 '24 09:07 ArgoZhang