MenuItem : caption position

28 views
Skip to first unread message

eric

unread,
Feb 2, 2012, 5:13:30 AM2/2/12
to InterSystems: Zen Community
Hi Everybody,

I want to put the caption text of the Zen component menuItem on the
bottom of image.


How can i do this ?

Vlado

unread,
Feb 12, 2012, 3:15:01 PM2/12/12
to intersys...@googlegroups.com
Hi Eric,
It's a game.
If you use label instead of caption the caption will go on the top of the image.
But if you want to be on the bottom ,you have to do this trick:
====================================================================================
<menu caption="Overview"  layout="vertical">
  <menuItem  link="ZENDemo.FormDemo.cls" image="images/folderopen.gif"/>
  <menuItem label="Form Demo" link="ZENDemo.Dashboard.cls" image="images/folderclosed.gif"/>
  <menuItem label="SVGDashboards" link="ZENDemo.ExpenseCalculator.cls" image="images/folderopen.gif"/>
  <menuItem label="Expense Calculator" link="ZENDemo.DragAndDropDemo.cls" image="images/folderclosed.gif"/>
  <menuItem label="Drag and Drop" link="ZENDemo.ActiveGroupDemo.cls" image="images/MacGreenDotB.png"/>
  <menuItem label="Active Groups" link="ZENDemo.DesktopDemo.cls" image="images/MacRedDotB.png"  />
  <menuItem label="Desktop" link="ZENDemo.ControlTest.cls" image="images/MacYellowDotB.png"/>
  <menuItem label="Controls" link="ZENDemo.MethodTest.cls" image="images/MacIconifyB.png"/>
  <menuItem label="Methods"/>
</menu>
=====================================================================================
Look carefully. The labels are transposed!.And no borders, because of the last line!
**Владо
menuItem.JPG
Reply all
Reply to author
Forward
0 new messages