mirror of
https://github.com/hbomb79/Titanium.git
synced 2025-01-23 01:42:07 -05:00
Window resizeButtonBackgroundColour default
This commit is contained in:
parent
c1beb7c5e1
commit
b08b212b1d
1 changed files with 13 additions and 0 deletions
|
@ -96,6 +96,19 @@ function Window:__init__( ... )
|
|||
end, "WINDOW_MIN_MAX_HEIGHT_CHECK" )
|
||||
end
|
||||
|
||||
--[[
|
||||
@constructor
|
||||
@desc After all the instance mixins are ready, this function is called allowing the dynamic value default to be set (before post init, the MPropertyManager is not listening for property changes)
|
||||
]]
|
||||
function Window:__postInit__()
|
||||
if not self.resizeButtonBackgroundColour then
|
||||
-- Apply the default dynamic value
|
||||
self.resizeButtonBackgroundColour = "$self.content.backgroundColour"
|
||||
end
|
||||
|
||||
self.super:__postInit__()
|
||||
end
|
||||
|
||||
--[[
|
||||
@instance
|
||||
@desc TODO
|
||||
|
|
Loading…
Reference in a new issue