QTextEdit Decrease Indentation of "tab" Key
<p>I'm trying to make a little <strong>C++</strong> text editor using <strong>Qt</strong>. When I press the <code>"tab"</code> key on my keyboard in the editor, it indents the line a lot more than necessary. I would like the code to indent by about 3 spaces rather than what looks to be 11 spaces. Is there any way to change the function of the tab key? Thanks.</p>