Multi line header Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
YuMERA
Earned a small fee
Earned a small fee
Posts: 17
Joined: Fri Jul 05, 2019 8:47 pm

Multi line header

Post by YuMERA » Sat Aug 31, 2019 4:32 pm

Hi!
I need any list control which has the ability to display multi-line text on columns header label.
What control it can and that you suggest to me???
Thx

User avatar
doublemax
Moderator
Moderator
Posts: 13985
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Multi line header

Post by doublemax » Sat Aug 31, 2019 8:52 pm

There is no control that can do this easily out of the box. Only wxGrid can do it, but you'll have to implement a custom col header renderer. Check the "grid" sample that comes with wxWidgets and search for "CustomColumnHeaderRenderer".
Use the source, Luke!

YuMERA
Earned a small fee
Earned a small fee
Posts: 17
Joined: Fri Jul 05, 2019 8:47 pm

Re: Multi line header

Post by YuMERA » Sat Aug 31, 2019 9:44 pm

Thanks for your answer I will try with this

Post Reply