- Fixed title bar icon for all skins (almost all skins has it disabled by default).

- Fixed the window ungroup button (above the resize one).
This commit is contained in:
Tercio
2015-01-31 19:02:47 -02:00
parent 3f5bbcad54
commit a5ede3a633
13 changed files with 114 additions and 47 deletions
+4 -1
View File
@@ -455,11 +455,14 @@
local novo_x = self.posicao[self.mostrando].x*_UIscale/_scale
local novo_y = self.posicao[self.mostrando].y*_UIscale/_scale
if (pre_defined) then --> overwrite
if (pre_defined and pre_defined.x) then --> overwrite
novo_x = pre_defined.x*_UIscale/_scale
novo_y = pre_defined.y*_UIscale/_scale
self.posicao[self.mostrando].w = pre_defined.largura
self.posicao[self.mostrando].h = pre_defined.altura
elseif (pre_defined and not pre_defined.x) then
_detalhes:Msg ("invalid pre_defined table for resize, please rezise the window manually.")
end
self.baseframe:SetWidth (self.posicao[self.mostrando].w)