Flutter_html: <table> avoid text wrapping

Created on 9 Oct 2019  路  5Comments  路  Source: Sub6Resources/flutter_html

Is there any way for the plugin to parse <table> tag without wrapping the text? Currently the text is wrapped according to screen width, thus creating new line.

Screenshot 2019-10-09 at 4 36 40 PM

I don't want the text to wrap so there will be no ugly newlines, and I also want to be able to scroll horizontally in case the text went outside the screen width. How to achieve such feat?

Thanks!

bug default-parser richtext-parser

Most helpful comment

I'm currently working on refactoring support for <table> (see #122) so I'll be sure to keep this in mind while I do so.

All 5 comments

I'm currently working on refactoring support for <table> (see #122) so I'll be sure to keep this in mind while I do so.

@Zerocchi Is this still a problem or has it been fixed by 1.0.0?

@ryan-berger I'll update tomorrow morning and let you know. Thanks!

@ryan-berger I am able to scroll horizontally and the text doesn't get wrapped anymore when I wrap the widget with SingleChildScrollView with Axis.horizontal as scroll direction. I guess my problem is solved now.

@Zerocchi I'll close this then. This seems like it is working correctly.

If you feel like there needs to be a change, please reopen the issue and we can discuss.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AbdoXLabs picture AbdoXLabs  路  5Comments

Seedorf161 picture Seedorf161  路  5Comments

raLaaaa picture raLaaaa  路  3Comments

a-href picture a-href  路  4Comments

Felix010203 picture Felix010203  路  4Comments