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

Responsive breaks TextWrapWord of widget.Label #39

Open
hennedo opened this issue Jun 9, 2022 · 3 comments
Open

Responsive breaks TextWrapWord of widget.Label #39

hennedo opened this issue Jun 9, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@hennedo
Copy link

hennedo commented Jun 9, 2022

It seems the responsive layout breaks the TextWordWrap of widget.Label.
If I build the example cmd with go 1.18.1 on MacOS (ARM) it does not wrap the text if the window gets smaller. It only wraps the text where there is an \n in the code.

@andydotxyz andydotxyz added the bug Something isn't working label Jun 16, 2022
@metal3d
Copy link
Contributor

metal3d commented Jul 5, 2023

Right, and not only this.

Buttons are not clickable.

I'm checking what's wrong.

@metal3d
Copy link
Contributor

metal3d commented Jul 5, 2023

I think I found the problem - sorry for the delay. Waiting for review and tests in #70

andydotxyz pushed a commit that referenced this issue Jul 17, 2023
Issue #39 - calling the inside object `CreateRenderer` breaks several
native behaviors (text wrapping, clickable, and many others).

Removing this call and using NewSimpleRenderer on the reponsiveWidget
fixes the problems.

I don't have precise explanation.
@metal3d
Copy link
Contributor

metal3d commented Jul 18, 2023

Fixed in #70 - you can test and close this issue if possible.

Thanks a lot for your bug report !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants