fayaz07 / progress_dialog

A light weight library to easily manage a progress dialog with simple steps whenever you need to do it. You can easily show and hide it.

Home Page:https://fayaz07.github.io/progress_dialog/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parameter for text align

nicodumdum opened this issue · comments

I am having issues when I am using some specific strings (e.g. "Updating queue number...") as progress messages where it turns out to be weird looking because of some weird text alignment. (See attached pic)
Screenshot_20200130-224335

I checked the code and it confirmed that it was using justify text alignment.
Text(_dialogMessage, textAlign: TextAlign.justify, style: _messageStyle)

I hope you can add an optional parameter for setting the text alignment so I can easily adjust it accordingly.

Thanks! :)

Thanks @nicodumdum , I will surely look into this issue

Please checkout latest version v1.2.2, I am closing the issue now, feel free to re-open if it doesn't solve your requirement