You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've done some debugging and found that the issue occurs with certain text sizes like 18, while sizes like 16 or 20 work fine. If you remove the text size function or set it to 16 or 20, the button renders correctly. I'm currently looking for a fix but I can't make any promises as I'm new to this framework and not a maintainer.
After looking into it further, I found that the issue has been resolved in a later commit than the one you were using in your Cargo.lock file. To fix this, you should delete your Cargo.lock and let it regenerate, then make some small syntax changes to match the updates. I've created a pull request for you that implements these changes: njust/iced_layout_issue#2.
If a maintainer reviews this, you can most likely close this issue.
Is there an existing issue for this?
Is this issue related to iced?
What happened?
Using the stack widget with two views with buttons won't render the above button properly:
The last element is a stack with two "card_views":
![image](https://private-user-images.githubusercontent.com/2380253/328962744-6d70cf40-afb0-4386-b0c9-f486ff9d6744.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUxMjM4MzIsIm5iZiI6MTcyNTEyMzUzMiwicGF0aCI6Ii8yMzgwMjUzLzMyODk2Mjc0NC02ZDcwY2Y0MC1hZmIwLTQzODYtYjBjOS1mNDg2ZmY5ZDY3NDQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgzMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MzFUMTY1ODUyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YzQ3N2JhODk3MGUyODM2YWQyNTkwMjE2YmEwMDJiNjY4YmI5YTU3YzlmMWI4YTIwM2I1ZjZkZDJiYjI3ZjE5NSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.jPxv9YLGyDmg0pZ0J2-GW-D0xLDVKtYZpm4aZG3ccOw)
Example repository is here:
https://github.com/njust/iced_layout_issue/tree/stack_widget_issue
What is the expected behavior?
Properly render the most recent widget in the stack.
Version
master
Operating System
Windows
Do you have any log output?
No response
The text was updated successfully, but these errors were encountered: