#Popup from OptionButton aligned too far right relative to the original button

1 messages · Page 1 of 1 (latest)

stoic spade
#

Hello, I've been struggling with this one.

For my build menu, I'm using an instanced scene (picture no. 1), with a dropdown (OptionButton) to select the buildable. Because the scene was too small when instanced, I increased the control node's size 3 times and moved/scaled the other nodes accordingly.

However, when actually in the scene tree, the popped up portion is aligned to the complete right of the OptionButton for no apparent reason (see second picture).

I've already tried playing with every scaling option I know of that is clearly visible in the node properties, with different combination of nodes to apply them on.

I will be very happy for any answer.
-Knedlik

slow ledge
#

since you are scaling nodes and it's not 100% obvious what is where, what I would do is to go into theme settings and give the popupmenu, its items as well as the optionbutton borders in different colors.

then you can see what is where and it should be much easier to figure out what is wrong