Buttons not following window resize with "original" orientation
AzureDoom opened this issue · 4 comments
Describe the bug
Resizing does not update the buttons, so if you have a the small window and resize to a bigger window, the buttons do not follow the rescaling.
To Reproduce
Steps to reproduce the behavior:
- Move a button with a small window size EX: The default window size Minecraft launches at.
- Resize with full window option or resize by hand.
- buttons do not update
Expected behavior
The buttons moving values would follow with the windows resizing.
Screenshots
Small Window:
Large Window
Basic Informations:
- OS: Windows 10
- fancymenu_0.4.2_MC_1.15-1.15.2
- Forge Version 1.15.2 - 31.1.30
- Minecraft Version 1.15.2
Config
https://gist.github.com/AzureDoom/84e9610883b97bfd910cfcf3cbc415c9
The bottom-right orientation is the bottom right corner of the window, which means, if you set x and y to 0, the buttons are completely out of the visible area. You have to set negative x coordinate (e.g. -150) and y coordinate >= the width and height of your button :)
You are using the "original" orientation, which sadly does not support resizing. In your case, you can use the "bottom-right" orientation!
//Edit: I will try to add resizing support to the "original" orientation option. Didn’t think about that until now.