<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : BUG: BestFit() cuts caption</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : BUG: BestFit() cuts caption]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 03 Apr 2026 22:44:00 +0000</pubDate>
  <lastBuildDate>Fri, 09 Mar 2018 02:39:59 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=23603</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[BUG: BestFit() cuts caption : Hi;I use the XT 18.3 report control...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23603&amp;PID=76679&amp;title=bug-bestfit-cuts-caption#76679</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 23603<br /><strong>Posted:</strong> 09 March 2018 at 2:39am<br /><br />Hi;<br><br>I use the XT 18.3 report control in tree mode.<br>I set up the tree column this way:<br><table width="99%"><tr><td><pre class="BBcode">CXTPReportColumn* Column=Report_.AddColumn(new CXTPReportColumn(0, _T(""), 300));<br>Column-&gt;SetAutoSize(FALSE);<br>Column-&gt;SetBestFitMode(xtpColumnBestFitModeAllData);<br>Column-&gt;SetMinWidth(300);<br>Column-&gt;GetEditOptions()-&gt;m_bSelectTextOnEdit=TRUE;<br>Column-&gt;GetEditOptions()-&gt;m_nMaxLength=65;<br>Column-&gt;SetTreeColumn(TRUE);</pre></td></tr></table><br>After data is loaded or when an item is expanded or collapsed I call this code:<br><table width="99%"><tr><td><pre class="BBcode">Report_.GetReportHeader()-&gt;AllowColumnResize(TRUE);<br>Report_.GetReportHeader()-&gt;BestFit(Report_.GetColumns()-&gt;GetAt(0));<br>Report_.GetReportHeader()-&gt;AllowColumnResize(FALSE);</pre></td></tr></table><br>But then the largest caption of one of the items is always cut off.<br>See here:<br><img src="uploads/109/09-03-_2018_08-30-52.png" height="213" width="485" border="0" /><br><br>Is this a bug?<br>When not, how can I see the item's whole text? If you check the grayed selection in above screenshot you can see that there's enough space left to the right of the item...<br>]]>
   </description>
   <pubDate>Fri, 09 Mar 2018 02:39:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23603&amp;PID=76679&amp;title=bug-bestfit-cuts-caption#76679</guid>
  </item> 
 </channel>
</rss>