Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • AdaptiveMenu inlineSubmenuItemProperties MultiAutoChild

    I'm trying to size the height of an AdaptiveMenu's items, to the size of it's parent container.

    Using your SmartClient Explorer example #adaptiveMenu:
    1. I've changed the ToolStrip's height to 50
    2. In the AdaptiveMenu's Contact item, I've added a property submenu: [] (to force it to a inlineSubmenuItem autochild)
    3. I've added in the AdaptiveMenu:
    Code:
        inlineMenuItemProperties: {
          height: '100%'
        },
        inlineImgButtonProperties: {
          height: '100%'
        },
        inlineSubmenuItemProperties: {
          height: '100%'
        },
    The inlineMenuItem sizes correctly
    But the inlineSubmenuItem don't size correctly.

    I've also tried changing the inlineSubmenuItemProperties to inlineSubmenuItemDefaults

    Is there something I mis ?

    SmartClient Version: v11.0p_2017-03-29/LGPL Deployment (built 2017-03-29)

  • #2
    We have just fixed a typo in our codebase, so you should find now that "inlineSubmenuItemProperties" works as expected.
    You'll find it fixed on next nightly build.

    Thanks,
    Isomorphic

    Comment


    • #3
      I've just tested the change, and it's working perfectly.

      Thank you very much.

      Comment

      Working...
      X