mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-06 11:48:52 +00:00

In this case, there is an explicit binding in the PopupWindow::width, so we shouldn't continue and find loop based on the implicit bindings Fixes #8889
21 lines
525 B
Text
21 lines
525 B
Text
// Copyright © SixtyFPS GmbH <info@slint.dev>
|
|
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0
|
|
|
|
// Issue #8889
|
|
// There shouldn't be error or warnings in this case
|
|
|
|
|
|
component MyPopup inherits PopupWindow {
|
|
property <length> first_column_width: 0.3 * root.width;
|
|
|
|
height: 400px;
|
|
width: 600px;
|
|
|
|
header := HorizontalLayout {
|
|
padding_left: root.first_column_width;
|
|
}
|
|
}
|
|
|
|
export component Test inherits Window {
|
|
popup := MyPopup { }
|
|
}
|