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

resize window on each corner #1

Open
Jorgen-VikingGod opened this issue Jul 14, 2017 · 4 comments
Open

resize window on each corner #1

Jorgen-VikingGod opened this issue Jul 14, 2017 · 4 comments

Comments

@Jorgen-VikingGod
Copy link
Owner

Add functionality to resize window on each side and corner and not only by QSizeGrip on BottomRight corner!

@Jorgen-VikingGod
Copy link
Owner Author

I did already some experiments on this task - but have currently no time to go deeper here. Maybe someone else is interested in contributing this feature?

@echopoint
Copy link
Contributor

I did implement this in 2 different ways locally.. One way was a grid of resize handles overlayed on the form, and the second was just manual hotspot calculation. I'm in the middle of implementing native handling of this, but didn't get the time to dive into x11 issues just yet. If you have a preference that matches any of those let me know and I'll throw a pull request in.

@Jorgen-VikingGod
Copy link
Owner Author

I also tried the two ways (resize handles and by a kind of hotspots and event overloading)
But I was not happy on the resizing to top and left (had some dirty jumping effects)
To have a native implementation is surely the best solution - but I can also live with a good hotspot solution.

So bring in what you have working and I will try/test it - and merge it on master if it is working good enough for all ;)

@Jorgen-VikingGod
Copy link
Owner Author

on issue #11 is a great working example linked. Maybe merge in some of the key features into this example?

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

No branches or pull requests

2 participants