[CLOSED] Accordion Inside Viewport with Border LayoutType

  1. #1

    [CLOSED] Accordion Inside Viewport with Border LayoutType

    Hello,

    what's wrong with this code ?
    When the user press on the second panel of the accordion control it gets expanded only for half of the available height and clicking on the first panel title does not produce any effect.

    Is it a bug ?

    Regards,
    Alberto

    @{
        Layout = null;
    }
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>Test</title>
        <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
        <meta name="viewport" content="width=device-width" />
    </head>
    <body>
        @Html.X().ResourceManager().CleanResourceUrl(true)
        @(
        Html.X().Viewport()
        .ID("mainViewport")
        .Layout(LayoutType.Border)
        .Items(
            Html.X().Panel().Height(40).Region(Region.North).Html("North"),
    
            Html.X().Panel()
            .ID("mainMenu")
            .Region(Region.West)
            .Split(true)
            .Layout(LayoutType.Accordion)
            .Items(
                    Html.X().Panel().Title("Settings").Html("First"),
                    Html.X().Panel().Title("Even More Stuff").Html("Second"),
                    Html.X().Panel().Title("My Stuff").Html("Third")
            ),
            
            Html.X().Panel()
            .ID("mainPanel")
            .Region(Region.Center)
            .Layout(LayoutType.Fit).Html("center")
    
        )
    )
    </body>
    </html>
    Last edited by Daniil; Jun 07, 2013 at 12:26 PM. Reason: [CLOSED]
  2. #2
    West region requires Width or Flex values
    Please define one of those properties for West region
  3. #3
    Thank you Vladimir.

    You can close the thread.

    Regards,
    Alberto.

Similar Threads

  1. [CLOSED] Missing GridPanel border inside Portlet
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jan 07, 2013, 3:02 PM
  2. [CLOSED] Border Layout + Accordion problems
    By syncos in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Aug 15, 2012, 2:54 PM
  3. Replies: 3
    Last Post: May 18, 2011, 7:06 PM
  4. border layout inside of tab
    By craig2005 in forum 1.x Help
    Replies: 1
    Last Post: Dec 31, 2010, 8:58 PM
  5. Replies: 5
    Last Post: Nov 11, 2010, 7:33 PM

Tags for this Thread

Posting Permissions