[solved] issue #27101: column header size |
Post Reply |
Author | |
PhilM
Groupie Joined: 24 March 2009 Location: United Kingdom Status: Offline Points: 65 |
Post Options
Thanks(1)
Posted: 15 May 2015 at 6:01am |
Any chance you've fixed it in 17? This makes our app look terrible in places...
After upgrading from 13 to 15.1.* if you have the column header alignment set to (xtpAlignmentRight+xtpAlignmentWordBreak) the sort arrow draws over the top of the text, also the height isn't worked out correctly if you have 2 words and you shrink the column so that the second word is on a new line, it chops the bottom half of the second word off. Although we use Openedge I have also tried altering the VB6 sample code and it does the same thing. The sort arrow thing is fixed however the word chopping is still an issue in 16.3.1. |
|
Product: Xtreme SuitePro (ActiveX) version 17.3.0
Platform: Windows 10 / Windows 7 Language: Openedge 11.6 |
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Hi PhilM,
CXTPReportControl::AdjustLayout() must be called after alignment of column's headers are changed to recalc header height (to prevent "word chopping")). I also added this calls to CXTPReportPaintManager::SetFixedRowHeight and CXTPReportHeader::ResizeColumn. Also I fix many other bugs in column header alignment. The fix will be available in the next beta or final release. Once you have an update installed, please make sure everything works as expected, let me know if there are any issues left. Regards, Oleksandr Lebed |
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Does anyone have problems with Markup in column header caption ?
|
|
PhilM
Groupie Joined: 24 March 2009 Location: United Kingdom Status: Offline Points: 65 |
Post Options
Thanks(0)
|
It just occurs when you drag resize the column and a word is pushed onto the second line, not when alignment is changed, but it sounds hopeful that you might have fixed it so I'll try it in the next release. Thanks
|
|
Product: Xtreme SuitePro (ActiveX) version 17.3.0
Platform: Windows 10 / Windows 7 Language: Openedge 11.6 |
|
PhilM
Groupie Joined: 24 March 2009 Location: United Kingdom Status: Offline Points: 65 |
Post Options
Thanks(0)
|
Loads better in 17 thanks but not totally solved. There is still a problem if you use custom draw option xtpCustomBeforeDrawRow, have non-resizable columns but then resize the docking pane that the report control is in which dynamically resizes the columns according to the size of the pane.
Is there any chance we can have access to the "AdjustLayout" method? I could probably then make this call when the pane is resized. Or is there any other way around this? |
|
Product: Xtreme SuitePro (ActiveX) version 17.3.0
Platform: Windows 10 / Windows 7 Language: Openedge 11.6 |
|
PhilM
Groupie Joined: 24 March 2009 Location: United Kingdom Status: Offline Points: 65 |
Post Options
Thanks(0)
|
I found a way around my last problem by setting FixedRowHeight after loading, presumably this is because of the addition you have made to make it call AdjustLayout when this is set. Would be nice if it could sort itself out but this will do for now.
|
|
Product: Xtreme SuitePro (ActiveX) version 17.3.0
Platform: Windows 10 / Windows 7 Language: Openedge 11.6 |
|
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 |