/
its internals may change at any time without notice. |
----------------------------------------------------------------------]] |
local MINOR_VERSION = tonumber( string.match( "$Revision: 28 $", "%d+" ) ) |
local MINOR_VERSION = tonumber( string.match( "$Revision: 29 $", "%d+" ) ) |
local lib, oldminor = LibStub:NewLibrary( "PhanxConfig-Button", MINOR_VERSION ) |
if not lib then return end |
button:SetText( name ) |
button:SetWidth( math.min( 44, button:GetTextWidth() + 8 ) ) |
button:SetHeight( 22 ) |
button:SetHeight( 24 ) |
button.desc = desc |