RESideMenu icon indicating copy to clipboard operation
RESideMenu copied to clipboard

managing right and left menu

Open farazhaider88 opened this issue 9 years ago • 5 comments

hi, i am working on an application where i needed to have both right and left menu. i am using reside menu and by changing _contentViewInPortraitOffsetCenterX to 70.f, i am getting my desired result but there is a problem when i am showing right menu. please see attach screenshots for these. the problem is that right side view getting inside my content view, i would like it to move to more right so i get it same as left menu.

screen shot 2015-02-20 at 10 36 52 pm

screen shot 2015-02-20 at 10 36 58 pm

farazhaider88 avatar Feb 20 '15 17:02 farazhaider88

Did this just yesterday. You have to make the tableview smaller.

Here is the size I'm using on right side:

UITableView *tableView = [[UITableView alloc] initWithFrame:CGRectMake(self.view.frame.size.width/3.5f, (self.view.frame.size.height - 54 * 7) / 2.0f, self.view.frame.size.width/1.5f, 54 * 10) style:UITableViewStylePlain];
        tableView.autoresizingMask = UIViewAutoresizingFlexibleTopMargin | UIViewAutoresizingFlexibleBottomMargin | UIViewAutoresizingFlexibleWidth;

pahnev avatar Feb 20 '15 19:02 pahnev

you mean to say if i m doing it from storyboard then i need to make my table width half of the view and push it on a right side?

farazhaider88 avatar Feb 21 '15 09:02 farazhaider88

That's how I ended up making my menu for the right side.

Or you could align the text to right but that looks pretty horrible.

On Sat, Feb 21, 2015 at 3:55 AM, farazhaider88 [email protected] wrote:

you mean to say if i m doing it from storyboard then i need to make my table width half of the view and push it on a right side?

Reply to this email directly or view it on GitHub: https://github.com/romaonthego/RESideMenu/issues/220#issuecomment-75364622

pahnev avatar Feb 21 '15 21:02 pahnev

yap its look weird on big devices.(iphone 6 & 6+)

farazhaider88 avatar Feb 23 '15 07:02 farazhaider88

I'm keeping the original panning animation so for me it looks the same. Perhaps you can resize yours differently for each screen size.

pahnev avatar Feb 23 '15 15:02 pahnev