rc-dock icon indicating copy to clipboard operation
rc-dock copied to clipboard

Fixed size floatbox?

Open barchambeault-lightbox opened this issue 2 years ago • 1 comments

I have a floatbox that is not dockable. I want it to be a fixed size. I have set minWidth and minHeight and that works great. However, it's still resizeable and therefore looks terrible when resized as the components inside get all jumbled up.

Will there ever be a resizeable: false attribute or maxWidth / maxHeight added to rc-dock floatboxes?

barchambeault-lightbox avatar Dec 02 '23 16:12 barchambeault-lightbox

I have figured out a way to handle this with css:

".dock-style-{my container id} .dock-panel-drag-size": { display: "none", },

this removes the 8 drag handles around the floatbox, thus making it not able to be resized, which is exactly what i was looking for...

barchambeault-lightbox avatar Dec 06 '23 19:12 barchambeault-lightbox