Skip to content
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

WIP: Chore: Update to iced 0.12 #79

Closed
wants to merge 1 commit into from

Conversation

nerdachse
Copy link

@nerdachse nerdachse commented Feb 16, 2024

This is not yet done, as

  1. for some reason the scrollbar/container is not filling the whole height as before.

As you can see, only one item is always shown (and you can see the scrollbar is not tall enough)

screenshot_16 02 2024-13 55 28

I've played around a bit, but it has been years since I experimented with iced and I couldn't figure out why it's not behaving as wanted.

  1. main...nerdachse:onagre:main#diff-b2db4128ee8d3fd19ff317f148c1b2d9e8e6fe7bcd711ca80b5617c21dd5b97cR160

Pretty self-explanatory.

I am opening this PR nonetheless because it may help as a base for someone else, or even me, when I have time to work on this again.

Apart from opening the PR I want to take a moment and say: Thank you! I love onagre!

KeyCode::Up => {
fn handle_input(&mut self, key: Key) -> Command<Message> {
match key {
Key::Named(Named::ArrowUp) => {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here I wasn't sure what we really wanted... this is verbose, but typesafe :)

@oknozor
Copy link
Collaborator

oknozor commented Feb 16, 2024

Hey @nerdachse thanks a lot for the PR, I moved it to #80 and fixed the issue you mentioned.
Unfortunately that does not seem to fix the transparency issue. But still, keeping iced up to date is nice.

@oknozor oknozor closed this Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants