Quantcast
Viewing all articles
Browse latest Browse all 171

How to create single-row menu?

I'm trying to create time selection two-level menu, the same as in "new appointment" dialog but am not able to make second level menu (that with x:15 | x:30 | x:45 values) horizontal.
I played a lot with params.layout and params.style of DwtMenu constructor but my menu always has dropdown layout.
I tried to compare my time select menu html and new appointment one and can't see any significant difference.

As per my observation initially time select menu of new appointment dialog has three-row html table,
HTML Code:

<tbody>
  <tr>
    <td></td>
  </tr>
  <tr>
    <td></td>
  </tr>
  <tr>
    <td></td>
  </tr>
</tbody>

but it is reconstructed when hover time menu parent menu item to single-row table
HTML Code:

<tbody>
  <tr>
    <td></td>
    <td></td>
    <td></td>
  </tr>
</tbody>

New appointment menu object has following properties:
layoutStyle 1 => DwtMenu.LAYOUT_CASCADE
origStyle 3 => ???
style 3 => DwtMenu.DROPDOWN_STYLE

I tried these and all values from 1 to 6 for "layoutStyle" and "style" properties but have not managed to get what I want.

Please help.

--
Zimbra Desktop 7.2.2 GA

Viewing all articles
Browse latest Browse all 171

Trending Articles