Added options to adjust the vertical and horizontal growth direction
This commit is contained in:
@@ -119,6 +119,27 @@ function ButtonBar:GetHideHotkey()
|
||||
return self.config.hidehotkey
|
||||
end
|
||||
|
||||
function ButtonBar:SetHGrowth(value)
|
||||
self.config.position.growHorizontal = value
|
||||
self:AnchorOverlay()
|
||||
self:UpdateButtonLayout()
|
||||
end
|
||||
|
||||
function ButtonBar:GetHGrowth()
|
||||
return self.config.position.growHorizontal
|
||||
end
|
||||
|
||||
function ButtonBar:SetVGrowth(value)
|
||||
self.config.position.growVertical = value
|
||||
self:AnchorOverlay()
|
||||
self:UpdateButtonLayout()
|
||||
end
|
||||
|
||||
function ButtonBar:GetVGrowth()
|
||||
return self.config.position.growVertical
|
||||
end
|
||||
|
||||
|
||||
ButtonBar.ClickThroughSupport = true
|
||||
function ButtonBar:SetClickThrough(click)
|
||||
if click ~= nil then
|
||||
|
||||
Reference in New Issue
Block a user