// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.2 OR LicenseRef-Slint-commercial

export Test := Rectangle {

    GridLayout {
        Rectangle {
            height: 42px;
//                  ^error{Cannot specify both 'height' and 'min-height'}
            min-height: 42px;
            max-width: 42px;
        }
        Rectangle {
            width: 42px;
//                 ^error{Cannot specify both 'width' and 'max-width'}
            min-height: 42px;
            max-width: 42px;
        }
    }


}
