That this is a well-known trick and is the only way to disable the UI editor makes me sad.
This must be repeated every single time Studio updates. This is a dirty workaround for a problem that is quite simply embarrassing at this point; there has been ample feedback about this since the UI editor first showed up in 2018 with extremely clear examples of this issue ruining the ability to work efficiently on small UI details.
At this point, asking for a way to disable the UI editor, or at least the yellow measurement overlay, feels like a joke. People no longer talk about this on the forum because they are jaded and just use stupid workarounds.
Developers have been struggling with this for two years because Roblox has not dedicated resources to making the UI editor smarter about placement of overlays, and/or has refused to add a toggle somewhere for the overlays. You can currently right click on UI to select UI layers; there could easily be a toggle in this same context menu, just like the “Align Dragged Objects” toggle in the same menu.
In fact, I’m skeptical people use the yellow measurement overlay often enough for them to be worth cluttering the viewport at all times since we mostly work with scale or UI constraints anyway. Maybe they should show up if you hover your mouse over the UI element while it is selected, or with some other context clue.
Other threads about this issue:
It’s also worth mentioning that this same “long-overdue UX improvement” problem also applies to the obstructive part selection box in Studio. Why are these things being ignored for years and years when they have been brought up many times, and are so obvious?