mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-14 17:58:40 +00:00
Fix accessible-role of ProgressIndicator (#4912)
In other styles it's defined as progress-indicator.
This commit is contained in:
parent
da30fa2663
commit
1a57e9fc7a
2 changed files with 5 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ export component ProgressIndicator {
|
||||||
min-height: 4px;
|
min-height: 4px;
|
||||||
horizontal-stretch: 1;
|
horizontal-stretch: 1;
|
||||||
vertical-stretch: 0;
|
vertical-stretch: 0;
|
||||||
accessible-role: none;
|
accessible-role: progress-indicator;
|
||||||
accessible-value: root.progress;
|
accessible-value: root.progress;
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
// Copyright © SixtyFPS GmbH <info@slint.dev>
|
// Copyright © SixtyFPS GmbH <info@slint.dev>
|
||||||
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial
|
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial
|
||||||
|
|
||||||
export component ProgressIndicator inherits NativeProgressIndicator {}
|
export component ProgressIndicator inherits NativeProgressIndicator {
|
||||||
|
accessible-role: progress-indicator;
|
||||||
|
accessible-value: root.progress;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue