Same size of every Symbol QString
-
How can i make all symbols in my QString being same size? Because some(like 'i' or '0' are thiner then others).
Here is the problem in screenshot below(each memory adress string have 10 element-length):
@Engelard said in Same size of every Symbol QString:
How can i make all symbols in my QString being same size?
Use a fixed-size font ...
-
How can i make all symbols in my QString being same size? Because some(like 'i' or '0' are thiner then others).
Here is the problem in screenshot below(each memory adress string have 10 element-length):
-
@Engelard said in Same size of every Symbol QString:
How can i make all symbols in my QString being same size?
Use a fixed-size font ...
@Pablo-J.-Rogina said in Same size of every Symbol QString:
@Engelard said in Same size of every Symbol QString:
How can i make all symbols in my QString being same size?
Use a fixed-size font ...
I can't find no "fixed-size" in google, all i found is function which applied to QFont object
QFont fnt; fnt.setPointSize(10);
But it only change size of font, all string now bigger, and the length of the all that strings with 10 symbols are still different.
I wish i could use that something like this:
myItem->setFont(QFont::italic());