Skip to content

Commit

Permalink
newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
hanjinliu committed Aug 22, 2024
1 parent 9045116 commit 6e4816d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/widgets/preference_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,32 +36,32 @@ def _init_ui(self, preference: Preference):

self._hide_title_bar = QtW.QCheckBox("Hide title bar")
self._hide_title_bar.setToolTip(
"This will hide the title bar of the CliX widget, just like the built-in "
"This will hide the title bar of the CliX widget, just like the built-in \n"
"command line."
)
self._hide_title_bar.setChecked(preference.hide_title_bar)
layout.addRow(self._hide_title_bar)

self._show_label = QtW.QCheckBox("Show \"CliX\" label on the left")
self._show_label.setToolTip(
"This will show the \"CliX\" label on the left of the CliX widget command "
"This will show the \"CliX\" label on the left of the CliX widget command \n"
"line."
)
self._show_label.setChecked(preference.show_label)
layout.addRow(self._show_label)

self._enter_completion = QtW.QCheckBox("Enable Enter key for completion")
self._enter_completion.setToolTip(
"Pressing Enter key will select the completion suggestion, instead of "
"Pressing Enter key will select the completion suggestion, instead of \n"
"executing the command."
)
self._enter_completion.setChecked(preference.enter_completion)
layout.addRow(self._enter_completion)

self._auto_focus = QtW.QCheckBox("Focus on CliX widget when typing")
self._auto_focus.setToolTip(
"Automatically focus on the CliX widget when typing. This option is useful "
"when you have to go back and forth between the CliX widget and the main "
"Automatically focus on the CliX widget when typing. This option is useful \n"
"when you have to go back and forth between the CliX widget and the main \n"
"window."
)
self._auto_focus.setChecked(preference.auto_focus)
Expand Down

0 comments on commit 6e4816d

Please sign in to comment.