-
Notifications
You must be signed in to change notification settings - Fork 604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added TodoMVC example (Rust mock version) #5396
Conversation
FloVanGH
commented
Jun 12, 2024
•
edited
Loading
edited
examples/todo_mvc/rust/src/repositories/mock_task_repository.rs
Outdated
Show resolved
Hide resolved
899c23b
to
878a55a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should probably be renamed todo-mvc
Or Just todo and replace the previous example. Although the previous example has the advantage of being simpler.
} | ||
|
||
content-layer := HorizontalBox { | ||
check-box := CheckBox { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the CheckBox might have a default horizontal-stretch that wants to expand in Qt because of the Text (Arguably this might be a bug in Qt) So maybe fixing the horizontal-stretch would help.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes could be. I will try it, thx.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you try it again for the qt style?
@ogoffart I want to replace the old |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
In case anyone is interested, accessibility of this app is broken on so many levels:
AccessKit doesn't yet expose listview-type widgets to assistive technologies (I'm currently working on it) but the core data type are there already for you to use. |
Hi, |
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
@DataTriny I will doe the accessibility improvements in a following PR, I have added to issue of this task ask todo #5363 |
examples/todo-mvc/rust/src/mvc/controllers/task_list_controller.rs
Outdated
Show resolved
Hide resolved
…r.rs Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>