Closed sohayb closed 8 years ago
Well I solved it like this:
navigationBarView.titleLabelInsetsRef.right = 192
But that brings me to another issue I wanted to discuss since forever, I think the NavigationBarView
takes so much code to get initialised. I guess having @IBDesignable
can solve part of the issue, what do you guys think?
Agreed, I will make that adjustment today with the SearchBarView I am working on :)
That's some great news!!! :+1:
I thought you would like that :)
Daniel Dahan
M: +1 647.627.0770 Skype: djondahan
On Jan 2, 2016, at 12:23 PM, Sohayb Hassoun notifications@github.com wrote:
That's some great news!!!
— Reply to this email directly or view it on GitHub https://github.com/CosmicMind/MaterialKit/issues/112#issuecomment-168409226.
@sohayb So this isn't actually a bug, it was part of the design. It was left to the developer to manage this. In the next release, the SearchBarView and NavigationBarView will handle the sizing as suggested.
Thank you!
When the title is big enough, the title labels appears on top of the top buttons, I think that the title label width in the
NavigationBarView
should be calculated based on the buttons width.