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

Window resizing will not resize content of CanvasLayout #556

Open
lazalong opened this issue Nov 16, 2023 · 0 comments
Open

Window resizing will not resize content of CanvasLayout #556

lazalong opened this issue Nov 16, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@lazalong
Copy link
Contributor

Hi,

V version: 0.4.2 ab4clf4
UI version: latest
OS: Win 10

What did you do?

When resizing a CanvasLayout using a SplitPanel will resize (as I expect) the content; however, this behaviour will not happen when you resize the Window.

What did you expect to see?

I am expecting a consistent behaviour between resizing using a splitpanel or resizing the whole window.

IMO the window resizing should call the method splitpanel_btn_mouse_move(b &ui.Button, e &ui.MouseMoveEvent)
in splitpanel.v.

It should be possible to add a parameter to make the content resizing optional.

What did you see instead?

Only the SplitPanel resizing will resize the content as I hoped.

Thanks

GIF 16-11-2023 00-12-01

@lazalong lazalong added the bug Something isn't working label Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant