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

Expand Package does not work perfectly #36

Open
Str4wF4b opened this issue Jul 4, 2023 · 1 comment
Open

Expand Package does not work perfectly #36

Str4wF4b opened this issue Jul 4, 2023 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Str4wF4b
Copy link
Owner

Str4wF4b commented Jul 4, 2023

The expand_widget works normally and as wanted for #10 . But if for example choosing "maxLines: 6" and the plot lines are about 6, it refers to the maxLines of the Emulator and on the (phone) physical device it does not show all the text of the plot because the width is different to the one of the Emulator. And if the text is longer than 6 lines, a popdown should be enabled, what isn't because it look normal on the Emulator. That means not the whole text is shown on the physical device.

@Str4wF4b Str4wF4b added the bug Something isn't working label Jul 4, 2023
@Str4wF4b Str4wF4b added this to the Stream Page milestone Jul 4, 2023
@Str4wF4b Str4wF4b self-assigned this Jul 4, 2023
Repository owner locked and limited conversation to collaborators Jul 4, 2023
@Str4wF4b
Copy link
Owner Author

Str4wF4b commented Jul 5, 2023

Temporarily solved with fontSize: 16 * 1/MediaQuery.of(context).textScaleFactor in style: TextStyle() of ExpandText(). But about the last 3 characters of the plotText are still not shown like on the Emulator, i.e. not the best solution!
Info: MediaQuery.of(context).textScaleFactor of Emulator = 1.0, of phone device = 1.1.

@Str4wF4b Str4wF4b changed the title Expanded Package does not work perfectly Expand Package does not work perfectly Jul 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant