PagingMenuController icon indicating copy to clipboard operation
PagingMenuController copied to clipboard

Changing the vertical margins of multiline text.

Open bagutzu opened this issue 9 years ago • 2 comments

So i want to achieve a menu with a multiline text and a round rect indicator, but the top/bottom margins of title and description labels cause the description text to go outside the rectangle.

The margin is too big anyway so it would be nice if we could change it.

bagutzu avatar Oct 22 '16 11:10 bagutzu

in the MenuItemView.swift you should change both bottom label constraints between them

titleLabel.bottomAnchor.constraint(equalTo: descriptionLabel.topAnchor, constant: verticalMargin), descriptionLabel.bottomAnchor.constraint(equalTo: bottomAnchor, constant: 0),

bagutzu avatar Oct 22 '16 12:10 bagutzu

any updates on this? i feel like being able to position the titleLabel would be useful in general.

currently I have a menuView that looks like this:

image

and adjusting MenuViewCustomizable.height can only do so much when it is already fixed vertically...

daviskoh avatar Sep 21 '17 21:09 daviskoh