mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 20:31:27 +00:00
Add the accessible-expandable property
This commit is contained in:
parent
e442965889
commit
53fd7b12e4
12 changed files with 42 additions and 0 deletions
|
|
@ -197,6 +197,7 @@ pub fn reserved_accessibility_properties() -> impl Iterator<Item = (&'static str
|
|||
("accessible-delegate-focus", Type::Int32),
|
||||
("accessible-description", Type::String),
|
||||
("accessible-enabled", Type::Bool),
|
||||
("accessible-expandable", Type::Bool),
|
||||
("accessible-label", Type::String),
|
||||
("accessible-value", Type::String),
|
||||
("accessible-value-maximum", Type::Float32),
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ export component ComboBox {
|
|||
forward-focus: base;
|
||||
accessible-role: combobox;
|
||||
accessible-enabled: root.enabled;
|
||||
accessible-expandable: true;
|
||||
accessible-value <=> root.current-value;
|
||||
|
||||
states [
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ export component ComboBox {
|
|||
forward-focus: base;
|
||||
accessible-role: combobox;
|
||||
accessible-enabled: root.enabled;
|
||||
accessible-expandable: true;
|
||||
accessible-value <=> root.current-value;
|
||||
|
||||
states [
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ export component ComboBox {
|
|||
|
||||
accessible-role: combobox;
|
||||
accessible-enabled: root.enabled;
|
||||
accessible-expandable: true;
|
||||
accessible-value <=> root.current-value;
|
||||
|
||||
states [
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ export component ComboBox {
|
|||
forward-focus: base;
|
||||
accessible-role: combobox;
|
||||
accessible-enabled: root.enabled;
|
||||
accessible-expandable: true;
|
||||
accessible-value <=> root.current-value;
|
||||
|
||||
states [
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ export component ComboBox {
|
|||
|
||||
accessible-role: combobox;
|
||||
accessible-enabled: root.enabled;
|
||||
accessible-expandable: true;
|
||||
accessible-value <=> root.current-value;
|
||||
forward-focus: base;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue