unify / unify

Unify Project
http://www.unifyjs.com
Other
152 stars 16 forks source link

unify/ui/layout/special/NavigationBar should calculate the available witdh for the title element #45

Closed dominikg closed 12 years ago

dominikg commented 12 years ago

currently it uses the titles width hint, which can be bigger than whats there.

Its max width should be the space that is available between the left and right elements.

Bonus: unify pre widget allowed left/title/right areas to be given a percentual width (e.g. 25%/50%/25%). Should the NavigationBar widget offer the same possibilities?

fastner commented 12 years ago

From commit message:

This positioning is done automatically.