mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-07 04:08:41 +00:00
30 lines
960 B
Text
30 lines
960 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
|
|
|
|
import { StyleMetrics, Palette, ScrollView, Palette } from "std-widgets-impl.slint";
|
|
|
|
export component AboutSlint {
|
|
preferred-height: 100%;
|
|
preferred-width: 100%;
|
|
min-height: i-layout.min-height;
|
|
min-width: i-layout.min-width;
|
|
|
|
i-layout := VerticalLayout {
|
|
padding: 12px;
|
|
spacing: 8px;
|
|
alignment: start;
|
|
|
|
Image {
|
|
source: Palette.color-scheme == ColorScheme.dark ? @image-url("MadeWithSlint-logo-dark.svg") : @image-url("MadeWithSlint-logo-light.svg");
|
|
preferred-width: 256px;
|
|
min-height: 48px;
|
|
accessible-label: "#MadeWithSlint";
|
|
}
|
|
|
|
Text {
|
|
text: "Version 1.13.0\nhttps://slint.dev/";
|
|
font-size: 10px;
|
|
horizontal-alignment: center;
|
|
}
|
|
}
|
|
}
|