wxStaticText with absolute size wraps long texts on several lines even if the width is enough
|Reported by:||d_hadzhiev||Owned by:||PC|
I'm using wxStaticText in one of my projects. The problem is that when the text is long the rendered text is on several lines, regardless of the width and height of the control itself. The control has enough width to render the full text on
single line and even reducing the height didn't change the behaviour. I found a workaround by placing the wxStaticText control in an absolutely sized panel, but I think the text should be sized according to its own size. I'm providing a modified minimal example.