sirinsidiator / ESO-LibAddonMenu

http://www.esoui.com/downloads/info7-LibAddonMenu.html
Artistic License 2.0
41 stars 20 forks source link

Button improvements #50

Closed sirinsidiator closed 8 years ago

sirinsidiator commented 8 years ago

Some things that I have noticed while using buttons in AwesomeGuildStore:

sirinsidiator commented 8 years ago

Enodoc also mentioned that the refresh panel call may not work when clicking on a button.

sirinsidiator commented 8 years ago

Instead of adding a function for the text color, I just linked it to the flag for the confirm dialog. When isDangerous is set to true, the button color will be set to ZO_ERROR_COLOR (red) and a confirm dialog which shows the button label as title and the warning text as message will pop up before the callback is executed.