Home » U++ Library support » TreeCtrl » Bug changing text after node insertion
Re: Bug changing text after node insertion [message #17006 is a reply to message #16963] |
Thu, 24 July 2008 22:44   |
cbpporter
Messages: 1428 Registered: September 2007
|
Ultimate Contributor |
|
|
cbpporter wrote on Wed, 23 July 2008 14:45 |
I'll leave it as it is for now, because there are other strange behaviors that I didn't find a reason for yet. Getting the changed checked status of a item in the OptionTree that is not checked doesn't seem to work only after it has been changed. I'll investigate these and if they'll look like a bug, I'll post about them. I hope they are just some mistake of mine.
|
False alarm, it was my fault. My old friend: initialized class members... I wish C++ would warn me about this one. Or maybe we could add it later to the new C++ parser.
cbpporter wrote on Wed, 23 July 2008 14:45 |
I'm not going back to that again .
|
Well I did and after a lot of work I pretty much got what I wanted. There are still some display issues, like strange background color and unaligned focus rect, but I can fix those. Still, this is almost the most (unnecessarily) complicated part of the whole program .
But for it to work as expected, one of the previous fixes must be reverted:
TreeCtrl::Node::Node(const Image& img, Ctrl& ctrl, int cx, int cy)
{
Init();
SetCtrl(ctrl);
image = img;
size = Null;
if(cx > 0)
size.cx = cx;
if(cy > 0)
size.cy = cy;
}
With this fix, there is that huge cap between Option (which now has no text) and text displayed by tree. If we undo it, they will be side by side again.
|
|
|
 |
|
Bug changing text after node insertion
|
 |
|
Re: Bug changing text after node insertion
By: masu on Wed, 16 July 2008 17:54
|
 |
|
Re: Bug changing text after node insertion
By: mirek on Thu, 17 July 2008 16:43
|
 |
|
Re: Bug changing text after node insertion
|
 |
|
Re: Bug changing text after node insertion
By: mirek on Thu, 17 July 2008 18:27
|
 |
|
Re: Bug changing text after node insertion
|
 |
|
Re: Bug changing text after node insertion
By: mirek on Sat, 19 July 2008 19:37
|
 |
|
Re: Bug changing text after node insertion
|
 |
|
Re: Bug changing text after node insertion
By: mirek on Mon, 21 July 2008 09:12
|
 |
|
Re: Bug changing text after node insertion
|
 |
|
Re: Bug changing text after node insertion
By: mirek on Mon, 21 July 2008 10:43
|
 |
|
Re: Bug changing text after node insertion
|
 |
|
Re: Bug changing text after node insertion
By: mirek on Mon, 21 July 2008 11:52
|
 |
|
Re: Bug changing text after node insertion
|
 |
|
Re: Bug changing text after node insertion
By: mirek on Mon, 21 July 2008 12:57
|
 |
|
Re: Bug changing text after node insertion
|
 |
|
Re: Bug changing text after node insertion
By: mirek on Mon, 21 July 2008 14:29
|
 |
|
Re: Bug changing text after node insertion
|
 |
|
Re: Bug changing text after node insertion
By: mirek on Mon, 21 July 2008 15:47
|
 |
|
Re: Bug changing text after node insertion
|
 |
|
Re: Bug changing text after node insertion
By: masu on Tue, 22 July 2008 09:32
|
 |
|
Re: Bug changing text after node insertion
|
 |
|
Re: Bug changing text after node insertion
By: mrjt on Tue, 22 July 2008 15:56
|
 |
|
Re: Bug changing text after node insertion
By: mirek on Wed, 23 July 2008 10:19
|
 |
|
Re: Bug changing text after node insertion
By: mirek on Wed, 23 July 2008 10:10
|
 |
|
Re: Bug changing text after node insertion
By: mrjt on Wed, 23 July 2008 10:53
|
 |
|
Re: Bug changing text after node insertion
|
 |
|
Re: Bug changing text after node insertion
|
 |
|
Re: Bug changing text after node insertion
By: mirek on Wed, 05 November 2008 10:07
|
 |
|
Re: Bug changing text after node insertion
|
 |
|
Re: Bug changing text after node insertion
|
 |
|
Re: Bug changing text after node insertion
By: mirek on Sat, 29 November 2008 13:17
|
 |
|
Re: Bug changing text after node insertion
By: mirek on Wed, 23 July 2008 22:03
|
Goto Forum:
Current Time: Wed Aug 27 13:22:49 CEST 2025
Total time taken to generate the page: 0.06168 seconds
|