I spent today investigating the issue. The plugin doesn’t seem to be able to convert ui elements with one scale and one offset. I tried some fixes but a lot of them required a rework of my script and I’m not sure how to calculate the size if both scale and offset is used at the same time (for example X uses scale and offset size). I’ll try to figure out a solution, any idea?
(I’ll rewrite my code later to fix the one scale and one offset issue)
I guess, I’m going to make a mindmap and rework my plugin to detect the different situations.
Conditions: (X and Y’s offset or scale is not 0)
Situations:
-X is Offset, Y is Offset
-X is Scale, Y is Scale
-X is Scale, Y is Offset
-X is Offset, Y is Scale
-X is Offset and Scale, Y is Offset and Scale
-X is Offset and Scale, Y is Scale
-X is Offset and Scale, Y is Offset
-X is Scale, Y is Offset and Scale
-X is Offset, Y is Offset and Scale
Couldn’t you just use the AbsoluteSize of the gui instance, and if converting to offset – set size to absoluteSize as it is – if converting to scale, calculate the AbsoluteSize as a percent of the parent AbsoluteSize
Hey guys! new update, made the settings gui bigger and the plugin now has an auto change anchor point feature.
Warning: Make sure you don’t enable this and move all your gui to startergui because it will completely obliterate your UI (Since it shifts all your UI). I recommend using this only if you are making a new UI from scratch and you know what you’re doing, otherwise, leave it alone.