CosmicMind / Material

A UI/UX framework for creating beautiful applications.
http://cosmicmind.com
MIT License
11.98k stars 1.26k forks source link

Can't set UILabel for title of Toolbar. #376

Closed TheHmmka closed 8 years ago

TheHmmka commented 8 years ago

Hi! Found one problem that property titleLabel of Toolbar is readonly in 1.41.1. How could I set label for title and detail?

mohpor commented 8 years ago

As of 1.41.1 Toolbar doesn't need you to setup a label and assign to it, just format the toolbar's TitleLabel and DetailLabel however you like.

Good luck.

TheHmmka commented 8 years ago

Confused with this page: https://github.com/CosmicMind/Material/wiki/Toolbar. And when I just set text and font for titleLabel - it looks unlayouted. Can't make screenshot right now cause I reverted to 1.40.0.

mohpor commented 8 years ago

@TheHmmka The toolbar's Wiki page is not reflecting the last version of Material. The whole documentation is being under reconstruction. Sorry for the inconvenience for now. I have used toolbar with 1.41.1 and it works like a charm. Would love to see some screenshots about it not having the correct layout any time you possibly could. Cheers M.

mohpor commented 8 years ago

@TheHmmka is this still an issue or we can safely close this issue?

daniel-jonathan commented 8 years ago

I am going to close this, thank you @mohpor. @TheHmmka if the issue persists. Please let me know. I am updating docs during today and this week. Thank you!

TheHmmka commented 8 years ago

Looks like it works. But I found other issues. Will open another ticker.