|
So I was hand coding an xml file for a Microsoft Office Ribbon I was working on and had some trouble figuring out why it wasn't appearing in Word. Especially since it had been working flawlessly moments earlier.
<button id="btnAAP"
enabled="true"
label="Some Label"
size="large"
keytip="A1"
getScreentip="Some screen tip."
supertip="Some super tip."
getShowLabel="GetShowLabel"
getShowImage="GetShowImage"
getImage="GetImages"
getSize="GetSize"
visible="true"
onAction="OnAction" />
After building and installing my tab was nowhere to be found. Apparently specifying size and getSize in the same element is a big no-no. Understandably it has no idea which attribute to ignore but I figured it would pick a default. I would expect this behavior extends to all elements and any XXX/setXXX attribute pairs.
Hope this saves someone some headaches.
|