- ButtonBar now uses .button_width and .button_height for layouting the buttons (defaults to 36)

- set button width/height for stancebar buttons
This commit is contained in:
Hendrik Leppkes
2008-02-16 18:19:25 +00:00
parent 4f31e91de5
commit 59df1ce268
2 changed files with 6 additions and 2 deletions
+2
View File
@@ -107,6 +107,8 @@ function StanceBar:ApplyConfig(config)
self:ForAll("ApplyStyle", self.config.style)
end
StanceBar.button_width = 30
StanceBar.button_height = 30
function StanceBar:UpdateStanceButtons()
local buttons = self.buttons or {}