Refactor out a reusable DraggablePanel (#8111)

This commit is contained in:
Nigel Breslaw 2025-04-11 16:07:08 +03:00 committed by GitHub
parent 7a1bc6f6d7
commit cbb5b96ade
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 144 additions and 135 deletions

View file

@ -0,0 +1,11 @@
// 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
export component SimpleColumn {
in-out property <length> spacing;
width: 100%;
vl := VerticalLayout {
spacing <=> root.spacing;
@children
}
}