mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
Use AccessibleRole::ListItem
inside examples
This commit is contained in:
parent
7e236017a7
commit
d790150735
3 changed files with 4 additions and 0 deletions
|
@ -171,6 +171,7 @@ export component SysInfo inherits Dialog {
|
|||
for disk in root.partitions : HorizontalLayout {
|
||||
padding: 5px;
|
||||
spacing: 5px;
|
||||
accessible-role: list-item;
|
||||
|
||||
Text { width: t1.width; overflow: elide; text: disk.dev; }
|
||||
Text { width: t2.width; overflow: elide; text: disk.mnt; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue