Salut,
Je souhaiterais savoir comment faire pour changer la taille de tabulation avec QTextEdit.
Salut,
Je souhaiterais savoir comment faire pour changer la taille de tabulation avec QTextEdit.
Bonjour,
voici l'intruction qui donne la possibilité de changer la taille de ta tabulation (en pixels) :
http://qt.developpez.com/doc/4.6/qte...stopwidth-prop
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 tabStopWidth : int This property holds the tab stop width in pixels. By default, this property contains a value of 80 pixels. This property was introduced in Qt 4.1. Access functions: int tabStopWidth () const -----> void setTabStopWidth ( int width )
Partager