<?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 : Icon not centered for xtpControlSplitButtonPopup</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Icon not centered for xtpControlSplitButtonPopup]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 05:57:08 +0000</pubDate>
  <lastBuildDate>Thu, 26 Oct 2023 02:28:27 +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=24436</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[Icon not centered for xtpControlSplitButtonPopup : How can I change the icon alignement...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24436&amp;PID=78809&amp;title=icon-not-centered-for-xtpcontrolsplitbuttonpopup#78809</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9637">ashukaneriya</a><br /><strong>Subject:</strong> 24436<br /><strong>Posted:</strong> 26 October 2023 at 2:28am<br /><br /><div><font face="Arial, Helvetica, sans-serif">How can I change the icon alignement to the center for </font><font face="Arial, Helvetica, sans-serif">xtpControlSplitButtonPopup control</font><font face="Arial, Helvetica, sans-serif">?</font></div><div><font face="Arial, Helvetica, sans-serif"><br></font></div><div><font face="Arial, Helvetica, sans-serif">I am using CodeJock's MFC toolkit to populate a toolbar in my desktop application.</font></div><div><font face="Arial, Helvetica, sans-serif"><br></font></div><div><font face="Arial, Helvetica, sans-serif">I am using the xtpControlSplitButtonPopup control that just shows icon and the down arrow to populate the pop-up. In my case, the icons are available only upto 32x32 px size. So, rectangle of the button is larger than the max available size of icon.</font></div><div><font face="Arial, Helvetica, sans-serif"><br></font></div><div><font face="Arial, Helvetica, sans-serif">In this scenario, the icon for </font><font face="Arial, Helvetica, sans-serif">xtpControlSplitButtonPopup is aligned left, unlike the icon of </font><font face="Arial, Helvetica, sans-serif">xtpControlButton (aligned center).</font></div><div><font face="Arial, Helvetica, sans-serif"><br></font></div><div><font face="Arial, Helvetica, sans-serif">I can reproduce this in sample application CommandBars\CommandBarControls&nbsp; sample application as well.<br><br>Version: </font><font face="Arial, Helvetica, sans-serif">Xtreme ToolkitPro v22.1.0</font><br><font face="Arial, Helvetica, sans-serif">Steps:<br>1. Uncomment the loading of other icon sizes (line 757 - 753 in Samples\CommandBars\CommandBarControls\MainFrm.cpp) <br>2. Choose from menu "Theme Options -&gt; Style -&gt; Visual Studio 2022 -&gt; Visual Studio 2022 Light"<br>3. If screen is non-4K resolution, right click on the toolbar area, and open Customize dialog. Select 'Options' tab and turn-on 'Large icons'.<br><br></font><font face="Arial, Helvetica, sans-serif">Appreciate if you have any pointers to resolve this issue.</font><br><font face="Arial, Helvetica, sans-serif"><br><img src="uploads/9637/ToolbarIc&#111;nAlignment_issue.png" height="412" width="758" border="0" /><br><br></font></div>]]>
   </description>
   <pubDate>Thu, 26 Oct 2023 02:28:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24436&amp;PID=78809&amp;title=icon-not-centered-for-xtpcontrolsplitbuttonpopup#78809</guid>
  </item> 
 </channel>
</rss>