dockview
dockview copied to clipboard
Minimum/Maximum width/height does not work on floating panels
trafficstars
First of all, @mathuo thank you very much for a great project!
Here is the problem:
api.addPanel({
id: `chleba_s_cibulou`,
component: CibulovyChleba,
minimumWidth: 460,
maximumWidth: 460,
minimumHeight: 660,
initialWidth: 460,
initialHeight: 660,
floating: {
position: { left: 10, top: 10 },
width: 460,
height: 660,
},
})
This opens floating window, initial dimensions are correct but min/max values are not applied and panel can be freely sizable.
Using version 1.17.1
This is really a great project. But I also had the same problem with the floating window. It looks that the minimum, maximum and the initial values don't work. Only the width and height work as expected. Also it will be good if there is an option to auto extend/shrink the size according to the size of the integrated component. Is this possible somehow? I didn't find it in the documentation.