<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I wrap the title on a tool or dropdown button on the ribbon panel? in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-wrap-the-title-on-a-tool-or-dropdown-button-on-the/m-p/9814347#M297065</link>
    <description>Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8901892"&gt;@dtimm8RCUM&lt;/a&gt; ,&lt;BR /&gt;&lt;BR /&gt;Inventor is not the same as AutoCAD.&lt;BR /&gt;I think it is better to ask your question here:&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-customization/bd-p/120" target="_blank"&gt;https://forums.autodesk.com/t5/inventor-customization/bd-p/120&lt;/A&gt;</description>
    <pubDate>Wed, 21 Oct 2020 05:02:58 GMT</pubDate>
    <dc:creator>maxim_k</dc:creator>
    <dc:date>2020-10-21T05:02:58Z</dc:date>
    <item>
      <title>How do I wrap the title on a tool or dropdown button on the ribbon panel?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-wrap-the-title-on-a-tool-or-dropdown-button-on-the/m-p/5980669#M297059</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm customizing a ribbon tab for AutoCAD 2016, and am adding in some tool buttons and split dropdowns using large icons with vertical text.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see on the default ribbon tabs (ie. Insert) that long titles wrap to two lines, but when I try to type in a longer title, it stretches the icon (and panel) and shows it all on one line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I add a return or wrap in there?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried typing it out like the default buttons appear (ie. EditAttribute), but when I type it like that it still ends up all one line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help,&lt;/P&gt;&lt;P&gt;-A&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jan 2016 00:18:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-do-i-wrap-the-title-on-a-tool-or-dropdown-button-on-the/m-p/5980669#M297059</guid>
      <dc:creator>amalandfx</dc:creator>
      <dc:date>2016-01-09T00:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I wrap the title on a tool or dropdown button on the ribbon panel?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-wrap-the-title-on-a-tool-or-dropdown-button-on-the/m-p/5980808#M297060</link>
      <description>&lt;P&gt;Welcome to Autodesk Forums!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only one way to force wrap long titles I have found at the moment is to edit CUIX file manually in Text editor and insert special characters to the place where you need a line break.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;For example:&lt;BR /&gt;You need to split "Drawing Setup" string in two lines. Than you need to extract RibbonRoot.cui file from your custom CUIX file, open RibbonRoot.cui in plain text editor application, find "Text" property&amp;nbsp;of the button with name "Drawing Setup". It should look in the RibbonRoot.cui file &amp;nbsp;something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&amp;lt;RibbonCommandButton UID="RBNU_0077" Id="AcRibbonCommandButton" Text=&lt;FONT color="#FF0000"&gt;"Drawing Setup"&lt;/FONT&gt; ButtonStyle="LargeWithText" MenuMacroID="MMU_0032" KeyTip=""&amp;gt;
          &amp;lt;TooltipTitle xlate="true" UID="XLS_0002"&amp;gt;Set DWG&amp;lt;/TooltipTitle&amp;gt;
          &amp;lt;ModifiedRev MajorVersion="21" MinorVersion="0" UserVersion="1" /&amp;gt;
        &amp;lt;/RibbonCommandButton&amp;gt;&lt;/PRE&gt;
&lt;P&gt;Now you need to insert special code - &amp;amp;#xD;-&amp;nbsp;between words "Drawing" and "Setup", now it should look like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&amp;lt;RibbonCommandButton UID="RBNU_0077" Id="AcRibbonCommandButton" Text=&lt;FONT color="#FF0000"&gt;"Drawing&amp;amp;#xD;Setup"&lt;/FONT&gt; ButtonStyle="LargeWithText" MenuMacroID="MMU_0032" KeyTip=""&amp;gt;
          &amp;lt;TooltipTitle xlate="true" UID="XLS_0002"&amp;gt;Set DWG&amp;lt;/TooltipTitle&amp;gt;
          &amp;lt;ModifiedRev MajorVersion="21" MinorVersion="0" UserVersion="1" /&amp;gt;
        &amp;lt;/RibbonCommandButton&amp;gt;&lt;/PRE&gt;
&lt;P&gt;Than you need save&amp;nbsp;RibbonRoot.cui file and replace old&amp;nbsp;RibbonRoot.cui inside your CUIX file with this new version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now if you launch AutoCAD and look at your custom button, the text will be splitted into two lines. In CUI editor the "Name property of the button will show "DrawingSetup" without special characters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maxim&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jan 2016 06:21:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-do-i-wrap-the-title-on-a-tool-or-dropdown-button-on-the/m-p/5980808#M297060</guid>
      <dc:creator>maxim_k</dc:creator>
      <dc:date>2016-01-09T06:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I wrap the title on a tool or dropdown button on the ribbon panel?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-wrap-the-title-on-a-tool-or-dropdown-button-on-the/m-p/5980842#M297061</link>
      <description>In fact the solution is even easier :-))&lt;BR /&gt;&lt;BR /&gt;In the Name properties of the button you need to use the “\n” character sequence to represent a line break and display a command label on more than one line. The “\n” character sequence is displayed as a space instead of the characters “\n” after the changes to the command are saved.&lt;BR /&gt;&lt;BR /&gt;Maxim</description>
      <pubDate>Sat, 09 Jan 2016 09:02:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-do-i-wrap-the-title-on-a-tool-or-dropdown-button-on-the/m-p/5980842#M297061</guid>
      <dc:creator>maxim_k</dc:creator>
      <dc:date>2016-01-09T09:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do I wrap the title on a tool or dropdown button on the ribbon panel?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-wrap-the-title-on-a-tool-or-dropdown-button-on-the/m-p/5980852#M297062</link>
      <description>I always thought it was \r&lt;BR /&gt;Apparently both works.</description>
      <pubDate>Sat, 09 Jan 2016 09:50:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-do-i-wrap-the-title-on-a-tool-or-dropdown-button-on-the/m-p/5980852#M297062</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2016-01-09T09:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I wrap the title on a tool or dropdown button on the ribbon panel?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-wrap-the-title-on-a-tool-or-dropdown-button-on-the/m-p/5983126#M297063</link>
      <description>&lt;P&gt;Thank you both! \r and \n work. That's exactly what I was looking for!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;-A&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2016 18:14:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-do-i-wrap-the-title-on-a-tool-or-dropdown-button-on-the/m-p/5983126#M297063</guid>
      <dc:creator>amalandfx</dc:creator>
      <dc:date>2016-01-11T18:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I wrap the title on a tool or dropdown button on the ribbon panel?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-wrap-the-title-on-a-tool-or-dropdown-button-on-the/m-p/9813557#M297064</link>
      <description>&lt;P&gt;This doesn't seem to work in Inventor 2019, unless I'm missing something.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my code I have tried using \r, \n, and then both of them together, like follows:&lt;/P&gt;&lt;P&gt;myBtn =controlDefs.AddButtonDefinition("Flange\r\nPlate", &amp;lt;...&amp;gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each time, I see the escape sequence showing up in the label instead of acting as an escape sequence.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="image.png" style="width: 95px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/833740iF67E9165C25406C2/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the DisplayName parameter for the AddButtonDefinition function not the right place to add the escape sequence?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 16:56:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-do-i-wrap-the-title-on-a-tool-or-dropdown-button-on-the/m-p/9813557#M297064</guid>
      <dc:creator>dtimm8RCUM</dc:creator>
      <dc:date>2020-10-20T16:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do I wrap the title on a tool or dropdown button on the ribbon panel?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-wrap-the-title-on-a-tool-or-dropdown-button-on-the/m-p/9814347#M297065</link>
      <description>Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8901892"&gt;@dtimm8RCUM&lt;/a&gt; ,&lt;BR /&gt;&lt;BR /&gt;Inventor is not the same as AutoCAD.&lt;BR /&gt;I think it is better to ask your question here:&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-customization/bd-p/120" target="_blank"&gt;https://forums.autodesk.com/t5/inventor-customization/bd-p/120&lt;/A&gt;</description>
      <pubDate>Wed, 21 Oct 2020 05:02:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-do-i-wrap-the-title-on-a-tool-or-dropdown-button-on-the/m-p/9814347#M297065</guid>
      <dc:creator>maxim_k</dc:creator>
      <dc:date>2020-10-21T05:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I wrap the title on a tool or dropdown button on the ribbon panel?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-wrap-the-title-on-a-tool-or-dropdown-button-on-the/m-p/9815157#M297066</link>
      <description>&lt;P&gt;Oh whoops. I was following some links from google after searching for how to do it, and I didn't notice this one wasn't for the Inventor forums. They were all grouped under the same domain, so I thought all the links would be for Inventor subforums. That explains why it wasn't working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(I did just recently find out you can just do a '&lt;U&gt;&lt;STRONG&gt;&amp;amp; Chr(10) &amp;amp;&lt;/STRONG&gt;&lt;/U&gt;' in Inventor, in case anybody else's google search results takes them here instead of to the Inventor form section.)&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 12:40:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-do-i-wrap-the-title-on-a-tool-or-dropdown-button-on-the/m-p/9815157#M297066</guid>
      <dc:creator>dtimm8RCUM</dc:creator>
      <dc:date>2020-10-21T12:40:17Z</dc:date>
    </item>
  </channel>
</rss>

