How can I prevent wx.StaticText from removing consecutive whitespaces in it’s input string?
I want to print text on a window such that the text is justified (like in MS-Word). when I input a string to wx.StaticText(panel, label=txt), it completely ignores duplicate spaces and replaces them with one space for each.
How can I prevent wx.StaticText from removing consecutive whitespaces in it’s input string?
I want to print text on a window such that the text is justified (like in MS-Word). when I input a string to wx.StaticText(panel, label=txt), it completely ignores duplicate spaces and replaces them with one space for each.