Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed size floatbox? #224

Open
barchambeault-lightbox opened this issue Dec 2, 2023 · 1 comment
Open

Fixed size floatbox? #224

barchambeault-lightbox opened this issue Dec 2, 2023 · 1 comment

Comments

@barchambeault-lightbox
Copy link

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
Copy link
Author

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant