LGPlusButtonsView icon indicating copy to clipboard operation
LGPlusButtonsView copied to clipboard

Horizontal Expand

Open kbhatt968 opened this issue 8 years ago • 5 comments

how to show buttons horizontally

kbhatt968 avatar Dec 01 '15 06:12 kbhatt968

Right now, no way

Friend-LGA avatar Dec 01 '15 10:12 Friend-LGA

Can you please guide me any other Custom Library or any refrence

kbhatt968 avatar Dec 01 '15 11:12 kbhatt968

I do not know any other libraries. But you can try to add LGPlusButtonsView without descriptions, make transform to rotate it on 90* and set offset to get right position.

It's not simple and right way, but you can try it, if you want.

Friend-LGA avatar Dec 01 '15 11:12 Friend-LGA

Can you please guide me where I need to make the rotate

kbhatt968 avatar Dec 01 '15 11:12 kbhatt968

I am not sure, you need to test it, but something like:

#define kDegreesToRadians(d) ((d) * M_PI / 180)

LGPLusButtonsView *plusButtonsView = [LGPLu...
plusButtonsView.transform = CGAffineTransformMakeRotation(kDegreesToRadians(45));
[self.view addSubview plusButtonsView];

Friend-LGA avatar Dec 01 '15 11:12 Friend-LGA