I noticed that when I increase a TextCtrl widget’s height, the text in the widget is not centered vertically, but rather aligned to the top edge of the widget, as shown in the screenshot below. I wonder if there is a way to make the text center vertically.
I would try setting the control’s `wx.TE_CENTRE style flag
See the docs for more info: wx.TextCtrl — wxPython Phoenix 4.2.3a1 documentation
Mike
`
···
On Thursday, November 17, 2016 at 1:48:59 PM UTC-6, Alex wrote:
I noticed that when I increase a TextCtrl widget’s height, the text in the widget is not centered vertically, but rather aligned to the top edge of the widget, as shown in the screenshot below. I wonder if there is a way to make the text center vertically.