DZNEmptyDataSet icon indicating copy to clipboard operation
DZNEmptyDataSet copied to clipboard

Different spacing between image/text/button

Open ealeksandrov opened this issue 9 years ago • 6 comments
trafficstars

It would be awesome to tweak spacing one-by-one, not all at once. For example, I want Title and Description to be close to each other, but place action button much lower.

I propose additional optional datasource methods:

  1. topImageVerticalSpacing (between image and title)
  2. descriptionVerticalSpacing (between title and desc)
  3. buttonVerticalSpacing (between desc and button)

So If we have implemented only buttonVerticalSpacing - it will override height for button top constraint, but keep every other constraint with default height.

If you approve this feature request, I can create PR.

ealeksandrov avatar Jul 01 '16 12:07 ealeksandrov

That would be very helpful, would love to see this feature.

bar2 avatar Apr 18 '17 22:04 bar2

+1

csr avatar Aug 18 '17 08:08 csr

+1 (hello I'm back :) couldn't believe I 1+'ed this post 6 months ago

csr avatar Mar 07 '18 17:03 csr

+1

SonnyMore avatar Mar 18 '19 14:03 SonnyMore

+1

Zeta611 avatar Jun 28 '19 08:06 Zeta611

+1

kevin-eb avatar Apr 16 '20 09:04 kevin-eb