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
Allows to control the image content alignment. #5
Conversation
I presume you have a Try setting the crossAxisAlignment to |
Sorry, I now realize that I may not be understanding some nuance of your use case. Please see this example that illustrates my suggestion above: 46d6b7b If you remove the If that doesn't cover your use case, can you provide some sample code? It sounds like maybe you're using |
Thanks for the details and for the links. I tried reproducing with my example and found that the When I forced a similar situation in my example app by wrapping with a I apologize if it seems like I'm going out of my way to reject your PR. I think it's probably a reasonable addition. My main concern however is that we don't offer a workaround that obscures other, more serious problems with the layout. |
I've already tried to do that : And the problem is that all math containers go full left :
Hey no problem, it's your project after all 😄
You may be interested by the widget tree, so here's a part of it : |
Right, I note also that you are using If you can distinguish between block and inline elements then I would recommend using If you really can't distinguish them, then I guess that right there is the use case for your PR. |
I really can't distinguish them as it's mostly user-generated content written with |
OK, thanks for your patience. I made some adjustments. I'll cut a new release shortly. |
Cool, and thanks for this awesome library ! 😉 |
This is released as v1.2.0. |
A use case could be when
flutter_tex_js
is used to render HTML content. For instance :is more beautiful than :