xtpColumnTextWordBreak = Doesn't |
Post Reply |
Author | |
Algae
Senior Member Joined: 08 January 2007 Location: United States Status: Offline Points: 217 |
Post Options
Thanks(0)
Posted: 23 August 2013 at 2:26pm |
Wordbreak column alignment does NOT work.
Neither xtpColumnTextWordBreak nor DT_WORDBREAK functions properly. From what I can tell the following setting gets clobbered when the Theme is set which screws up wordbreak: wndReport.GetPaintManager()->SetFixedRowHeight(FALSE); If you set this AFTER the theme is set, it works as intended. See attached ReportSampleView.cpp from the toolkit. Search "wordbreak" to see the few lines of code added to test the functionality. uploads/2657/ReportSampleView.zip Kludge fix: In CXTPReportPaintManager, change the default. m_bFixedRowHeight = FALSE; Of course this will cause the opposite problem should you actually want to have FixedRowHeights. This, and other paint settings either need to be decoupled from the CXTPReportPaintManager constructor or the CXTPReportPaintManager should not recreated every time a theme is set. Obviously this is a very visible bug that impacts other features such as loading an XML layout for the report. Not sure what's going on there at CJ but it seems that basic stable functionality is being slighted or ignored since 15.3.1. *See tree control as another example. This is not a good sign for a library. version 16.2.3 vs 2010 w 7 pro |
|
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 |