开发者

wxWidgets wxRichTextCtrl horizontal text wrapping

I have a wxRichTex开发者_如何转开发tCtrl which keeps wrapping the lines instead of increase the scrollbar size. How can I disable the line wrapping and make it so the horizontal scrollbar grows.

wxWidgets 2.8.11


May be you should try this:

wxTE_DONTWRAP: Same as wxHSCROLL style: don't wrap at all, show horizontal scrollbar instead.

And other styles look at http://docs.wxwidgets.org/trunk/classwx_text_ctrl.html


According to http://docs.wxwidgets.org/trunk/classwx_rich_text_ctrl.html:

wxRE_MULTILINE:

  • The control will be multiline (mandatory).

In other words you can't make the wxRichTextCtrl not wrap lines.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜