none
how to prevent label wrap in customUI RRS feed

  • Question

  • I use customUI to add a CustomTab and toggleButton like:

    <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
      <ribbon>
        <tabs>
          <tab id="CustomTab" label="My Tab">
            <group id="SampleGroup" label="Sample Group">
              <toggleButton id="ToggleButton1" size="large" 
                label="测试"/>
    </group>
          </tab>
        </tabs>
      </ribbon>
    </customUI>

    But  the text "测试" will auto wrap to two lines.

    How can I prevent it auto wrap?

    Thursday, October 15, 2015 3:07 AM

Answers

  • Hi,

    Based on the test, when we remove the size attribute, the label shows in one line.

    Please let me whether it works for you. And you can get more detail about goggle button from link below:
    2.2.43 toggleButton (Toggle Button)

    Regards & Fei


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, October 16, 2015 1:54 AM
    Moderator