-
Notifications
You must be signed in to change notification settings - Fork 246
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
[Feature Request] Resizable child windows #419
Comments
Yes, that is correct. |
I'm working on this. |
Ah, then minimize/maximize have to be added. |
Implemented now in |
I've finally tested this, seems to work mostly ok, although (and talking about the "Child Windows" example) depending on how far into the window the mouse cursor is, it either resizes the window or triggers the scrollbar behavior (when talking about the bottom/right areas) / moves the window (when talking about the top area), but the mouse cursor is still the resize one. There is probably a difference between the area that triggers the cursor change and the area that actually effects the resizing behavior. |
Right! Good observation. The active areas overlap. What I should do is move the resize area outside the scroll bar's active area. I'll see what I can do! |
Try it now. |
Awesome. I actually noticed that corners were missing as well, but didn't want to bother you anymore 🙂. I'll check and test Windows corner cursors (it's |
So I've implemented and tested Windows, the corner cursor seems to need a bit of tinkering. The area in which the cursor appear seems to be very small, and also the cursor can go from "h cursor" -> "diagonal cursor" -> "h cursor" (for example) when slowly panning the cursor from the right side of the window until you get to the corner. Same with the "v cursor". As for GTK3 I'm having a bit of a hard time finding the diagonal cursor. I see there should be one on this image (although this might be GTK2?): However, I can't find any diagonal cursors on the docs: https://docs.gtk.org/gdk3/enum.CursorType.html |
For sure. Right now the margin is just 5px. You are welcome to make some adjustments. |
Did some refactoring and renames. |
I'm going to move this to a feature branch (resizable_window and resizable_window_skia) until it is complete. |
Done. This is moved to the |
Currently child windows cannot be resized, only moved and/or closed. My assumption is that a
resizeable
"trait" (sorry if that's not the right term!) can be added, similar to themoveable
one.The text was updated successfully, but these errors were encountered: