Announcement

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

    Issue in layout nesting while resizing

    http://www.smartclient.com/#layoutNesting

    If I try it with this code

    Code:
    isc.HLayout.create({
        width: "100%",
        height: "100%",
        members: [
            isc.Label.create({
                contents: "Navigation",
                align: "center",
                overflow: "hidden",
                width: "30%",
                showResizeBar: true,
                border: "1px solid blue"
            }),
            isc.VLayout.create({
                width: "70%",
                members: [
                    isc.Label.create({
                        contents: "Listing",
                        align: "center",
                        overflow: "hidden",
                        height: "30%",
                        showResizeBar: true,
                        resizeBarTarget: "next",
                        border: "1px solid blue"
                    }),
                    isc.Label.create({
                        contents: "Details",
                        align: "center",
                        overflow: "hidden",
                        height: "70%",
                        border: "1px solid blue"
                    })
                ]
            })
        ]
    });
    (The only change is resizeBarTarget: "next")

    There is an issue that allows you drag the resize bar to the top of the window (beyond the nested structure), and when you drop, the 'Details' section is exapanded too much (beyond its limits) and an undesired scroll-bar appears.

    Is it an issue or am I doing something wrong?

    Thanks!
Working...
X