You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I really like this library, except for the text. Right now the font is a bit large and limited to 1 or 2 lines depending on the label, and I wish it had a bit more flexibility. A way to change the font size, or the line limit, or both. Is this something you would be interested in allowing as a configuration option?
The text was updated successfully, but these errors were encountered:
Hi Cory. For sure, a little more customization would be nice. However, my first idea was a HUD that resembles the system one as close as possible. Maybe, we could introduce a "styles" enum, e.g. .system and .custom with corresponding options.
@honkmaster Hey. I've made some changes after seeing this thread. I've put an labelStyle enum for .system and .custom for customization. TTProgressHUDConfig will look like this. If you wish to accept these changes, I would love to create a pull request for this.
@StatevarhudConfig=TTProgressHUDConfig(
title:"This is title",
caption:"This is caption",
labelStyle:.custom,
titleFont:.custom("Optima", size:30.0),
titleLineLimit:3,
captionFont:.custom("Optima", size:14.0),
captionLineLimit:2,
allowsTapToHide:true)
I really like this library, except for the text. Right now the font is a bit large and limited to 1 or 2 lines depending on the label, and I wish it had a bit more flexibility. A way to change the font size, or the line limit, or both. Is this something you would be interested in allowing as a configuration option?
The text was updated successfully, but these errors were encountered: