-
-
Notifications
You must be signed in to change notification settings - Fork 889
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
The view does not fill the screen #294
Comments
I have similar Problem with my Samsung A50s, it takes only half of the screen width for content rendering and font also appears very small. But same looks fine on my Nexus 5 device. Any solution to get it resolved? |
same with my galaxy s8 |
@Sub6Resources any idea what could be causing this behaviour? Is there a way for us to assist you? Thanks. |
Hi ! It looks like it is the same issue as "Ver 1.0.0 : FontSize(this.size) - strange behavior" #289 when you make the font smaller in your phone settings. Can you try to set your fontsize to normal ? |
@MilosKarakas I'm the new maintainer for the time being, and my guess is that it also has to do with another sizing issue as we aren't calculating the size, and shinkWrap is not working correctly. If you want to debug it and try to figure out why it is not taking up the entire width, that would be extremely helpful, and I should be able to review your code and merge it if things are working. |
@ryan-berger I'll have a look, in case I find a way to fix it I will post it right away. |
Add this to your MaterialApp
It should fix the issue by overriding the textScale factor set by the system. |
Is overriding whole app |
This was fixed via #333 |
Both my Huawei P30 PRO(android 10.0) and Samsung S8(android 8.0) have this problem
my flutter doctor:
[✓] Flutter (Channel stable, v1.17.1, on Mac OS X 10.15.4 19E287, locale zh-Hans-CN) [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) [✓] Xcode - develop for iOS and macOS (Xcode 11.4.1) [✓] Android Studio (version 3.6) [!] IntelliJ IDEA Ultimate Edition (version 2019.3.1) ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. [✓] VS Code (version 1.45.1) [✓] Connected device (1 available) ! Doctor found issues in 1 category.
The text was updated successfully, but these errors were encountered: