Announcement

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

    InitWidget on window shifts the header

    I'm using SmartClient 7.0 and have the following problem:

    I am subclassing Window class and have added to it by default a layout.
    The problem that arises is that somehow the header ends up below that layout. I've tested this in both IE8 and FF3.5.

    Here is the sample code of the class
    Code:
    isc.ClassFactory.defineClass("ValuePicker", "Window");
    
    ValuePicker.addProperties({
        autoSize: true,
        showModalMask: true,
        isModal: true,
        autoCenter: true,
        showShadow: false,
        autoDraw: false,
        width: 400,
        members: [
            isc.VLayout.create({
                margin: 10,
                backgroundColor: "#FF7F7F",
                autoDraw: true
            })
        ],
        
        ...
    
    })
    and I have attached the screenshot of what happens...
    Attached Files
Working...
X