mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-03 10:23:32 +00:00
Remove combo box's inner label from the accessibility tree
This commit is contained in:
parent
f30f953ffd
commit
79b4950f41
4 changed files with 4 additions and 0 deletions
|
@ -66,6 +66,7 @@ export component ComboBox {
|
|||
font-weight: CosmicFontSettings.body.font-weight;
|
||||
color: CosmicPalette.control-foreground;
|
||||
text: root.current-value;
|
||||
accessible-role: none;
|
||||
}
|
||||
|
||||
Image {
|
||||
|
|
|
@ -98,6 +98,7 @@ export component ComboBox {
|
|||
font-weight: CupertinoFontSettings.body.font-weight;
|
||||
color: CupertinoPalette.foreground;
|
||||
text: root.current-value;
|
||||
accessible-role: none;
|
||||
}
|
||||
|
||||
VerticalLayout {
|
||||
|
|
|
@ -80,6 +80,7 @@ export component ComboBox {
|
|||
font-weight: FluentFontSettings.body.font-weight;
|
||||
color: FluentPalette.control-foreground;
|
||||
text: root.current-value;
|
||||
accessible-role: none;
|
||||
}
|
||||
|
||||
icon := Image {
|
||||
|
|
|
@ -77,6 +77,7 @@ export component ComboBox {
|
|||
// font-family: MaterialFontSettings.body-large.font;
|
||||
font-size: MaterialFontSettings.body-large.font-size;
|
||||
font-weight: MaterialFontSettings.body-large.font-weight;
|
||||
accessible-role: none;
|
||||
}
|
||||
|
||||
icon := Image {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue