mercredi 25 février 2015

Titlebar not centering title html until element resize.

I have some html set in the "title" attribute of a titlebar, and or some reason the element has the correct width given the buttons on the left and right side, but it isn't centered correctly until I resize the window. I'm sure that this is triggering some redraw on the element.

What I get on init:


2015-02-25_19-30-43.jpg


What I get after window resize (which is correct):


2015-02-25_19-31-47.jpg


Does anyone know a way to force that redraw without resizing the window? I tried removing and re-adding the title bar from the dom but nothing changed. Is some sencha event required?


Thanks!






Titlebar not centering title html until element resize.

Aucun commentaire:

Enregistrer un commentaire