mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 22:31:14 +00:00
Add support for the initial_focus synthetic property
Setting it will translate to a set_focus_item call in the constructor. This implements parts of #55
This commit is contained in:
parent
2050f08f1e
commit
9ad8968529
22 changed files with 542 additions and 36 deletions
|
@ -184,7 +184,8 @@ fn to_eval_value<'cx>(
|
|||
| Type::Signal { .. }
|
||||
| Type::Easing
|
||||
| Type::Component(_) // The struct case is handled before
|
||||
| Type::PathElements => cx.throw_error("Cannot convert to a Sixtyfps property value"),
|
||||
| Type::PathElements
|
||||
| Type::ElementReference => cx.throw_error("Cannot convert to a Sixtyfps property value"),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue