CenterContainer: options to handle larger content (#8277)

This commit is contained in:
hius07
2021-10-01 21:33:39 +03:00
committed by GitHub
parent 4c9d1ac3f8
commit 3fe09ecc01
4 changed files with 18 additions and 8 deletions

View File

@@ -123,9 +123,9 @@ function MultiInputDialog:init()
self[1] = CenterContainer:new{
dimen = Geom:new{
w = Screen:getWidth(),
h = math.max(Screen:getHeight() - self._input_widget:getKeyboardDimen().h,
self.dialog_frame:getSize().h),
h = Screen:getHeight() - self._input_widget:getKeyboardDimen().h,
},
ignore_if_over = "height",
self.dialog_frame,
}
UIManager:setDirty(self, "ui")