mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +00:00
Add tooltips to buttons (#637)
* Add tooltips * Fix whitespace * Avoid overloaded word canvas * Clean render function * Switch folder to fragment
This commit is contained in:
parent
96cb1ee3fd
commit
b88d34c639
10 changed files with 354 additions and 89 deletions
|
|
@ -11,6 +11,7 @@ local Theme = require(Plugin.App.Theme)
|
|||
|
||||
local IconButton = require(Plugin.App.Components.IconButton)
|
||||
local ScrollingFrame = require(Plugin.App.Components.ScrollingFrame)
|
||||
local Tooltip = require(Plugin.App.Components.Tooltip)
|
||||
local Setting = require(script.Setting)
|
||||
|
||||
local e = Roact.createElement
|
||||
|
|
@ -44,6 +45,10 @@ local function Navbar(props)
|
|||
anchorPoint = Vector2.new(0, 0.5),
|
||||
|
||||
onClick = props.onBack,
|
||||
}, {
|
||||
Tip = e(Tooltip.Trigger, {
|
||||
text = "Back"
|
||||
}),
|
||||
}),
|
||||
|
||||
Text = e("TextLabel", {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue