Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » BUG: HeaderCtrl::Serialize
BUG: HeaderCtrl::Serialize [message #27345] |
Tue, 13 July 2010 12:32 |
mrjt
Messages: 705 Registered: March 2007 Location: London
|
Contributor |
|
|
A call is missing in HeaderCtrl::Serialize that prevents proper layout refreshing after Serializing (Loading).
A simple fix. Line 759 in HeaderCtrl.cpp needs a ReCompute() added:
if (s.IsLoading()) {
ReCompute(); // New additon
Refresh();
WhenLayout()
}
The problem is only apparent if the HeaderCtrl is already visible to the user, which is presumably why it was never noticed before.
|
|
|
|
Goto Forum:
Current Time: Wed Apr 24 12:52:47 CEST 2024
Total time taken to generate the page: 0.02247 seconds
|