How to change table column's width if I make headerView inVisible?
http://www.qtcn.org/bbs/attachment/M...f71480dd5f.png
How can we get the similar effect as the pictrue?
Thanks!
Re: How to change table column's width if I make headerView inVisible?
I don't know if there is a build in function, but you can activate mouse tracking and check if the mouse in on a line, chance the mouse cursor and react on mouse press + move.
Re: How to change table column's width if I make headerView inVisible?
Quote:
Originally Posted by
Lykurg
I don't know if there is a build in function, but you can activate mouse tracking and check if the mouse in on a line, chance the mouse cursor and react on mouse press + move.
Thanks for your reply!
I will have a try.
Re: How to change table column's width if I make headerView inVisible?
I succeed.
In fact,it is very easy.
Re: How to change table column's width if I make headerView inVisible?
Quote:
Originally Posted by
luoyes
I succeed.
In fact,it is very easy.
Perfect! It would be nice if you could post the relevant reimlementations. If some other user struggle with that problem, he could use your solution.
2 Attachment(s)
Re: How to change table column's width if I make headerView inVisible?
Here is my code.
Hope it is helpful!
And I am very pleased if anyone give me some suggestions.
Attachment 4548Attachment 4549