mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-19 19:45:06 +00:00
19 lines
No EOL
475 B
Text
19 lines
No EOL
475 B
Text
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
|
|
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
|
|
|
|
import { Theme } from "../theme.slint";
|
|
|
|
export component BarBackground inherits Rectangle {
|
|
border-radius: 2px;
|
|
background: Theme.palette.bar-background-gradient;
|
|
opacity: 0.25;
|
|
}
|
|
|
|
export component ChartPattern {
|
|
in property <int> count;
|
|
|
|
HorizontalLayout {
|
|
spacing: 1px;
|
|
for _ in count : BarBackground {}
|
|
}
|
|
} |