FancyMenu [Fabric] [MOVED TO NEW PROJECT]

FancyMenu [Fabric] [MOVED TO NEW PROJECT]

17M Downloads

Buttons not following window resize with "original" orientation

AzureDoom opened this issue · 4 comments

commented

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:

  1. Move a button with a small window size EX: The default window size Minecraft launches at.
  2. Resize with full window option or resize by hand.
  3. buttons do not update

Expected behavior
The buttons moving values would follow with the windows resizing.

Screenshots
Small Window:
image
Large Window
image

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

commented

The issue with bottom-right is that the button just vanishes
image

customization {
  action = movebutton
  identifier = %id=2%
  x = 0
  y = 0
  orientation = bottom-right
}

image

customization {
  action = movebutton
  identifier = %id=2%
  orientation = bottom-right
}
commented

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 :)

commented

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.

commented

With FancyMenu v1.0, the "original" orientation is now deprecated and will be removed in the near future.