<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Option to modify a menu or toolbar entry's style in customization dialog"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=114264#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Option to modify a menu or toolbar entry's style in customization dialog"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=114264">bug 114264</a>
              from <span class="vcard"><a class="email" href="mailto:momonasmon@gmail.com" title="Maxim Monastirsky <momonasmon@gmail.com>"> <span class="fn">Maxim Monastirsky</span></a>
</span></b>
        <pre>After my recent patches, the style of a toolbar/menu item is stored in the
customization dialog in the associated SvxConfigEntry in the nStyle member, so
it should be easy to implement the UI for setting it.

The values correspond to the constants from
offapi/com/sun/star/ui/ItemStyle.idl, in particular RADIO_CHECK, TEXT, and
ICON. Icon+text style of a toolbar button is ICON+TEXT combined using bitwise
OR. For a menu, ICON and a combined ICON+TEXT have both the same meaning, as a
menu item can't have just an icon w/o text.

(In reply to Yousuf Philips (jay) from <a href="show_bug.cgi?id=114264#c0">comment #0</a>)
<span class="quote">> For toolbar entries you have the toolbar:style which can be blank for icon,</span >
Blank means the default setting of the whole toolbar. 'image' is what will
force the icon.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>