Adjust positions after element update
This commit is contained in:
parent
df3810cce7
commit
c084dc55aa
@ -71,12 +71,10 @@ function Children:with(elementType)
|
|||||||
|
|
||||||
function elementType:setDirty(fullInvalidate)
|
function elementType:setDirty(fullInvalidate)
|
||||||
Element.setDirty(self, fullInvalidate)
|
Element.setDirty(self, fullInvalidate)
|
||||||
if fullInvalidate then
|
|
||||||
for _,child in self:_iterateChildren() do
|
for _,child in self:_iterateChildren() do
|
||||||
child:setDirty(fullInvalidate)
|
child:setDirty(fullInvalidate)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
function elementType:_isDirty()
|
function elementType:_isDirty()
|
||||||
if Element._isDirty(self) then
|
if Element._isDirty(self) then
|
||||||
|
@ -570,7 +570,7 @@ local PAGES = {
|
|||||||
dataAvailableText:setText(availableText)
|
dataAvailableText:setText(availableText)
|
||||||
requestCapProgress:setProgress(pageState.request / group:getItemCount())
|
requestCapProgress:setProgress(pageState.request / group:getItemCount())
|
||||||
|
|
||||||
stuffContainer:setDirty(true)
|
stuffContainer:adjustPositions()
|
||||||
end
|
end
|
||||||
|
|
||||||
local function bindRequestButton(increment)
|
local function bindRequestButton(increment)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user