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:
@@ -140,6 +140,7 @@ function ReaderSearch:onShowFulltextSearchInput()
|
||||
text = _("Case sensitive"),
|
||||
checked = not self.case_insensitive,
|
||||
parent = self.input_dialog,
|
||||
max_width = self.input_dialog._input_widget.width,
|
||||
callback = function()
|
||||
if not self.check_button_case.checked then
|
||||
self.check_button_case:check()
|
||||
@@ -152,6 +153,7 @@ function ReaderSearch:onShowFulltextSearchInput()
|
||||
text = _("Regular expression (hold for help)"),
|
||||
checked = self.use_regex,
|
||||
parent = self.input_dialog,
|
||||
max_width = self.input_dialog._input_widget.width,
|
||||
callback = function()
|
||||
if not self.check_button_regex.checked then
|
||||
self.check_button_regex:check()
|
||||
|
||||
Reference in New Issue
Block a user