nanoblox / core

https://nanoblox.github.io/core/
Mozilla Public License 2.0
56 stars 17 forks source link

:setCaption(text) #50

Closed 1ForeverHD closed 3 years ago

1ForeverHD commented 3 years ago

This is a clever idea, credit to Outlaster by Peak Precison Studios: https://www.roblox.com/games/5343994291/NEW-Outlaster

image

Captions, where a fixed block of dynamically sized text appears below the icon. This will function similar to :setTip().

How the theming is set needs to be considered in more detail. Possibly consider creating two new objects, caption and captionLabel, or maybe have it match the buttons BackgroundColor and labels TextColor. Also consider corners.

This would have to work on PC and Xbox, while being disabled on mobile

Also hide when selected (like tips)