| 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> |
| 2 | // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0 |
| 3 | |
| 4 | import { StyleMetrics, Palette, ScrollView, Palette } from "std-widgets-impl.slint" ; |
| 5 | |
| 6 | export component AboutSlint { |
| 7 | preferred-height: 100%; |
| 8 | preferred-width: 100%; |
| 9 | min-height: i-layout.min-height; |
| 10 | min-width: i-layout.min-width; |
| 11 | |
| 12 | i-layout := VerticalLayout { |
| 13 | padding: 12px; |
| 14 | spacing: 8px; |
| 15 | alignment: start; |
| 16 | |
| 17 | Image { |
| 18 | source: Palette.color-scheme == ColorScheme.dark ? @image-url("MadeWithSlint-logo-dark.svg" ) : @image-url("MadeWithSlint-logo-light.svg" ); |
| 19 | preferred-width: 256px; |
| 20 | min-height: 48px; |
| 21 | accessible-label: "#MadeWithSlint" ; |
| 22 | } |
| 23 | |
| 24 | Text { |
| 25 | text: "Version 1.11.0\nhttps://slint.dev/" ; |
| 26 | font-size: 10px; |
| 27 | horizontal-alignment: center; |
| 28 | } |
| 29 | } |
| 30 | } |
| 31 | |