Checkbutton: ensure max width, multiline if needed (#8066)
This commit is contained in:
1 parent
b622d6edd8
commit
c8a7f52672
6 files changed
+25
-7
No files matched your search
@@ -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