kawoou / KWDrawerController

Drawer view controller that easy to use!
MIT License
157 stars 32 forks source link

Width of side menu as percentage #14

Closed Serproger closed 5 years ago

Serproger commented 6 years ago

Now I can set drawer width only in points. Because of that, side menu doesn't adapt to changes of size width. For example, I can't make menu occupying one third of screen without writing custom code that will update menu width when size of screen changes. It would be useful to specify side menu width as percentage of screen width. Maybe can you suggest some way to use Auto Layout for side menu size determination?

kawoou commented 6 years ago

If you register PR, I will review it 😆