Skip to content

Created functionality for set_size function #41

Open

Description

@dotsem

I've recently been working on a desktop music widget. I wanted to include different skins for the music player, each with their own size, that could be updated on the fly.
This required me to patch the set_size function.

I've created an impl for the set_size function on a fork: https://github.com/dotsem/Spell/tree/fix/set_size-function-doesn't-update-slint-%26-wayland-window-size

You can use this code as inspiration or i can create a PR for it if you want, let me know!

Activity

  1. VimYoung commented on Sep 23, 2026

    @VimYoung
    Owner

    Thanks for the issue, I will take a look at it (probably on weekend) and revert back to you. Nice desktop widget btw.

  2. VimYoung commented on Sep 29, 2026

    @VimYoung
    Owner

    Hey @dotsem , I skimmed over the solution, there are somethings I would want to change before merging the PR (as part of certain restructuring changes to make feature addition more straightforward and streamline). Hence, I am thinking of doing the changes manually from your PR. it would be great if you could open a PR so that the approach remains around in the PR till I merge my code.

  3. VimYoung commented on Sep 29, 2026

    @VimYoung
    Owner

    Also the music player of yours seems like a great project and use case of spell. It would be great if you could mention it in the showcase section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions