FlaShG / GitMerge-for-Unity

Unity plugin for merging sceneand prefabs files when using git.
GNU General Public License v2.0
201 stars 27 forks source link

Prefab Merged Selection Button is Stretched Vertically #40

Closed randomPoison closed 2 years ago

randomPoison commented 9 years ago

gitmerge_prefabbuttonstretching

To the right of the spot for choosing the prefab to merge is the little button that brings up a list of all prefabs. The button is stretched vertically, meaning the size of the gui rectangle probably just needs to be tweaked.

FlaShG commented 9 years ago

The circle is part of the property field used. The whole field is stretched vertically and as a result, so is the circle. I have not found a way to change that yet (except to reset the field height to its default).

randomPoison commented 9 years ago

Is there a reason why you wouldn't just want to reset the height to its default? I guess it's nice that the field is a little bit bigger than normal, but I don't know that it's that much of an advantage.

FlaShG commented 9 years ago

I just think that a big field to drop stuff into is a bigger advantage than an ugly scaled icon is a disadvantage :grinning:

randomPoison commented 9 years ago

Fair enough. I'll keep an eye out for a way to fix the stretching issue or get a large property field without that icon.

FlaShG commented 2 years ago

This has been fixed some time on the way to 2020.3, where it's not stretching anymore. Also, the fix for prefab merging changes this field to a regular Box instead of an ObjectField.