1ForeverHD / TopbarPlus

Construct dynamic and intuitive topbar icons. Enhance the appearance and behaviour of these icons with features such as themes, dropdowns and menus.
https://devforum.roblox.com/t/topbarplus/1017485
Mozilla Public License 2.0
95 stars 123 forks source link

Clamp captions to screen bounds #71

Closed CAZ-H closed 6 months ago

CAZ-H commented 1 year ago

When using captions on topbar buttons near the right edge of the screen, the captions run offscreen. This change ensures that the captions are always clamped to the bounds of the screen according to workspace.CurrentCamera.ViewportSize.

Currently there is no space between the caption and the edge of the screen, I think this makes better use of screen real-estate, but happy to make any changes, adjust spacing, etc.

1ForeverHD commented 6 months ago

Thanks for this fix