Autorize icon indicating copy to clipboard operation
Autorize copied to clipboard

Problems with the interface in high resolution

Open ewilded opened this issue 8 years ago • 7 comments

I noticed that when using Autorize in high resolution (like 4k), the entire configuration interface elements overlap each other, rendering it useless. autorize Please see the screenshot.

ewilded avatar Oct 04 '16 13:10 ewilded

Hi Julian, Thank you for reporting this problem, however due to a lack of time I will not be able to fix this in the near future. Possibly my partner, Federico will be able to take care of it. In any case, if you would like you could fix the relevant code parts yourself and send the pull request I will gladly accept it. Let me know whether you prefer to wait or to fix it yourself, Kind regards, Barak

Quitten avatar Oct 04 '16 17:10 Quitten

To be honest I prefer to wait (:D), especially as I am terrible at Java and UI... Nonetheless I think I can give it a try. I have already achieved some improvement, will try to make everything look fine - then I will test in low resolution and make a pull request. Regards, Julian

ewilded avatar Oct 05 '16 15:10 ewilded

You can give a try and i will perform tests on the pull request

Quitten avatar Oct 05 '16 17:10 Quitten

Allright, here it is https://github.com/ewilded/Autorize/commit/3c51397aa8a6d8adf08dfa5cbf29fb343f5f07d8#diff-370c88cf0195bbc74583252c05ef49bc. Does not look so bad under my 4k now, however I am not sure if I did not break low resolutions in turn ;) Anyway, the root cause was using absolute positions and sizes instead of features offered by layouts. If you are fine with my changes, please let me know, I will create a pull request. Regards, Julian

ewilded avatar Oct 07 '16 10:10 ewilded

Ok, before you actually make a pull request - I just noticed that somehow my changes broke the automatic interception (with the default 'in scope' filter), so far I have no idea how. I will let you know as soon as it's fixed. Thanks, Julian

ewilded avatar Oct 07 '16 13:10 ewilded

Ok, waiting for the pull request.

Quitten avatar Oct 12 '16 04:10 Quitten

Hi Julian, i just tested your code and i saw that it changed the entire UI of the plugin, i would like to solve the resolution problem without changing the UI itself, i thought about checking the monitor resolution in the first initialization then adjust the buttons for it. In case you can do that it will be great, because i dont want to change the plugin's UI.

Quitten avatar Oct 12 '16 07:10 Quitten