SVProgressHUD icon indicating copy to clipboard operation
SVProgressHUD copied to clipboard

Resize custom SVProgressHUD

Open NBibikov opened this issue 11 years ago • 8 comments

Hi! Thanks for great tool! Can i change size of custom SVProgressHUD view with indicator? I want make it smaller

NBibikov avatar Aug 27 '15 21:08 NBibikov

Hi Nick,

do you want to change the overall size of the HUD, or do you want to change the size of the spinner / the imeages?

BR

Tobi

honkmaster avatar Aug 28 '15 07:08 honkmaster

I want change the overall size of the HUD

NBibikov avatar Aug 28 '15 07:08 NBibikov

In updateHUDFrame: are two constants hudWidth and hudHeight (in the first two lines). You could try to change these and see if this is sufficient for you. If more people request this feature, we could discuss about bringing this to the official source.

honkmaster avatar Aug 28 '15 07:08 honkmaster

Thanks for quick reply! Yes, this is will be great have opportunity change it with official API

NBibikov avatar Aug 28 '15 07:08 NBibikov

Hi honkmaster!

I want to change the size of the spinner. Where can I edit it?

duyklinsi avatar Nov 25 '15 16:11 duyklinsi

Use setRingRadius:.

honkmaster avatar Nov 25 '15 17:11 honkmaster

Hi honkmaster! setRingRadius may be not working for me . I use this
SVProgressHUD.setRingRadius(CGFloat(10.0))

tariqul000 avatar May 20 '19 10:05 tariqul000

In updateHUDFrame: are two constants hudWidth and hudHeight (in the first two lines). You could try to change these and see if this is sufficient for you. If more people request this feature, we could discuss about bringing this to the official source.

Can I change this width without modifying the source code?

baiyidjp avatar May 28 '19 04:05 baiyidjp