TableView dirty background
Added by Sanders Yeh about 7 years ago
Hi,
I have a fixed size WTableView and set "setColumnResizeEnabled" as true.
If I make total column length less than the width of table, please see "column_length_less.png".
And trigger update after use "setColumnWidth" to set column length to it's originally value.
Then I will get dirty background as "dirty_background.png".
What method can I use to get rid of the annoying Loding text?
Any advice or guidance would be greatly appreciated.
Replies (3)
RE: TableView dirty background - Added by Sanders Yeh about 7 years ago
forgot to mention, I clear the model data once before setColumnWidth.
RE: TableView dirty background - Added by Roel Standaert about 7 years ago
Are you testing with the latest master, because I've recently fixed a bug that may be related to this?
Regards,
Roel
RE: TableView dirty background - Added by Sanders Yeh about 7 years ago
Thank you for the update.
But I couldn't upgrade the wt version before latest release.
However, I found it that if I set column length to it's originally value before clearing the model data
This situation will not happen as usually.
Thanks again!