Skip to content
João Cardoso edited this page Dec 5, 2019 · 9 revisions

GrayButton is a button class which inherits from RedButton and provides buttons with constant gray backgrounds, even when not disabled.It does not provide any additional API.

Preview

Example

local gray = LibStub('Sushi-3.1').GrayButton()
gray:SetTip('Reset', 'Click to reset.')
gray:SetText('Reset') 
gray:SetCall('OnClick', function(gray)
  print("Are you sure you want to reset?")
end)

Sushi-3.1 🍣

Documentation
Class Reference
Best Practices

Feedback
Post an issue

Clone this wiki locally