heikomaass / HMLauncherView

[ABANDONED] UI component for buttons like Apple's SpringBoard
Other
191 stars 25 forks source link

How to change the size of icons and empty place between them correctly? #10

Closed gerchicov-bp closed 9 years ago

gerchicov-bp commented 9 years ago

I want to decrease the empty place and increase the size of views but I can't adjust it correctly for dragging: it operates with other areas. Could you explain how to fix it?

heikomaass commented 9 years ago

The dimensions are fetched from the HMLauncherDataSource.buttonDimensionsInLauncherView method. Here you can define the size of an icon as CGSize.

The space between the icons will be calculated in the HMLauncherView.calculateIconSpacer method using the bounds of the view and the icon size from the delegate.