Surpressing the vertical scrollbar in a wx.TextCntrl
William Luitje <[email protected]> Fri, 5 Jun 2020 17:05:49 -0700
| Newsgroups | gmane.comp.python.wxglade |
|---|---|
| Message-ID | <CACDBsVUjVQmgN1dL52dxf0_AtzR6wSF=mBU8yi83ERxXZrk0og@mail.gmail.com> |
I recently upgraded to wxPython 3.0.2.0 and a text control which previously had no vertical scrollbar now has one, which is disabled. There is a checkbox wxTE_NO_VSCROLL in wxGlade for that control so I checked it and regenerated the UI but the scrollbar remained. In the generated code for that control was the expression "style=wx.TE_MULTILINE | wx.TE_READONLY" so I edited the generated code to "style=wx.TE_MULTILINE | wx.TE_READONLY | wxTE_NO_VSCROLL" and the scrollbar went away. So it seems that wxGlade is not generating the requested flag even when the box is checked. I don't see that flag present in the documentation for wxPython 2.9 so it seems to be first implemented in 3.0. _______________________________________________ wxGlade-general mailing list wxGlade-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/wxglade-general