7 Nov 2008 2:10 PM #1
Window title text alignment
I've created a window object and want to have it's title to be left justified.
The problem is that page has "text-align: center" set in css used.
I tried addingCode:
7 Nov 2008 2:13 PM #2
7 Nov 2008 2:33 PM #3
That's the problem. The rule comes from yui/build/reset-fonts-grids/reset-fonts-grids.css and i do not have a control about using that file or not.
7 Nov 2008 11:42 PM #4
8 Nov 2008 12:56 AM #5
- Join Date
- Mar 2007
- Notts/Redwood City
- Vote Rating
But the title of any Panel is left justified anyway, so what is the OP on about?Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
10 Nov 2008 6:57 AM #6
Of course I can do this (add overriding rule) and it would affect the whole page.
I was just looking for "localized" config setting that would be applicable to my window widget only.
Animal, that YUI's reset-fonts-grid.css (specifically grid part) sets body's text-align to 'center' and Ext.Panel does not defines text alignment explicitly. Hence... undesired alignment in my case.
I guess, new rule for the doc is the only way to go..
6 Aug 2012 9:04 PM #7
how to make the title to center and the 'X' symbol of a window to left?