![]() |
Grid row without children not indented (CJ 24.2) |
Post Reply ![]() |
Author | |
Heath ![]() Groupie ![]() Joined: 05 April 2004 Status: Offline Points: 26 |
![]() ![]() ![]() ![]() ![]() Posted: 11 September 2025 at 4:02am |
Following migration from CJ 24.1 to 24.2, the grid ident for rows without children are no longer indented to align with rows with children (with the expand icon). The release notes say... Text indent computation fixed for a group row with no icon Default tree item indentation fixed in Grid control I used the fix below where pGridCtrl is a pointer to CXTPGridControl. CXTPGridPaintManager* pGridPaintManager = pGridCtrl->GetPaintManager(); pGridPaintManager->m_nTreeTextIndent = 25; pGridPaintManager->m_nTreeTextIndentRowChildren = 25; I assume this is a bug as the default has been changed from the behaviour seen in many previous releases. Regards, Heath
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |