Font & Colors

To set editor font and colors, select Preferences > Text Editor > Font & Colors.

{Font & Colors tab in Text Editor preferences}

Configuring Fonts

You can select the font family and size. You can specify a zoom setting in percentage for viewing the text. You can also zoom in or out by pressing Ctrl++ or Ctrl+-, or by pressing Ctrl and rolling the mouse button up or down. To disable the mouse wheel function, select Preferences > Text Editor > Behavior and deselect the Enable scroll wheel zooming check box.

To improve the readability of text in the editor, adjust the line spacing in the Line spacing field.

Antialiasing is used by default to make text look smoother and more readable on the screen. Deselect the Antialias check box to turn off antialiasing.

See also Behavior and Change editor colors.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.