mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Checkbutton: ensure max width, multiline if needed (#8066)
This commit is contained in:
@@ -476,7 +476,9 @@ function InputDialog:onTap()
|
||||
if self.deny_keyboard_hiding then
|
||||
return
|
||||
end
|
||||
self._input_widget:onCloseKeyboard()
|
||||
if self._input_widget.onCloseKeyboard then
|
||||
self._input_widget:onCloseKeyboard()
|
||||
end
|
||||
end
|
||||
|
||||
function InputDialog:getInputText()
|
||||
@@ -816,6 +818,7 @@ function InputDialog:_addScrollButtons(nav_bar)
|
||||
text = _("Case sensitive"),
|
||||
checked = self.case_sensitive,
|
||||
parent = input_dialog,
|
||||
max_width = input_dialog._input_widget.width,
|
||||
callback = function()
|
||||
if not self.check_button_case.checked then
|
||||
self.check_button_case:check()
|
||||
|
||||
Reference in New Issue
Block a user