this post was submitted on 29 Jan 2025
19 points (95.2% liked)

Rust Programming

8299 readers
12 users here now

founded 5 years ago
MODERATORS
 

Iced, a popular GUI Crate, used by system76 for their new DE, is getting default animation support in the development branch. The animations are based on the lilt crate. As far as I know the only missing part that needs to be done is, adding animations to the default widgets.

I assume in the next release it will be shipped with animation support.

I am so happy that this is coming and look forward to see animations in my gui applications.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 day ago (4 children)

This is good.

Three things I would like to see:

  1. Starting to systematically add widgets. For example tabbed controls are missing. There is some extra crate, but this should be included in the main iced crate (I think).

  2. Declarative ui definition like slint of xaml in wpf

  3. Not sure if it is there already, but the ability to style widgets in a good way. For example to replicate how Windows 10 looked like

[–] [email protected] 1 points 1 day ago (1 children)
  1. I dont realy understand what you mean by tabbed controls. If you mean keyboard navigation, that is directly ahead on the roadmap.
  2. Take a look at the macros the iced::widget module provides. This is pretty much a declarative ui definition.
  3. In the last version update a new styling system was introduced. It is way simpler then the old approach. I am sure you can create a custom theme that looks pretty much like win10/11.
[–] [email protected] 1 points 1 day ago (1 children)

Thanks for clarifying things.

  1. Tabbed controls I mean equivalent of QTabBar and QTab if we talk qt framework. But these are just examples. Maybe I am wrong, I just briefly went over the list of Widgets, so might have missed it. What I think is super important is to mainly catch up to this: https://slint.dev/demos/gallery?style=material

  2. I did take a look at it a while ago, maybe I should do it again. I like the way slint did it since you can have a live editor to preview your layout.

  3. Ok. This sounds great.

[–] [email protected] 2 points 1 day ago* (last edited 1 day ago) (1 children)

I just found this. This is somewhat the fluent style for iced. Since cosmic uses iced that style is available as well.

When it comes to additional widgets, there are additional widgets in the iced_aw crate.

[–] [email protected] 2 points 23 hours ago

This fluent widget gallery looks great! Thanks for linking it.

Yes, I know about the separate crate, but those widgets look rather bad and I think that the main project should have their widgets extended. Matching list with e.g. qt or the fluent in winui.

Would make it an easier choice then...

load more comments (2 replies)