-
29 Jul 2010 5:50 AM #1
How to remove or overwrite the tbseperator class
How to remove or overwrite the tbseperator class
Hi ,
I have application in extjs 3.0 , i have one requirement we have wizard panels and it has toolbar where i have to display arrow images rather then seperator pipeline image. i tired to overwrite the .x-sep class and added the arrow image in the css file and add the config property call
cls:'wizard-arrow'
but nothing is display...
please anyone has answer this how to overwrite the seperator image.
Cheers
-
29 Jul 2010 5:53 AM #2
Why can't you just override the background image for that class "xtb-sep" within that toolbar? Give the toolbar and ID or a class, and you have a selector to use.
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
29 Jul 2010 6:00 AM #3
Thanks Animal, i tried that way to override the background image for example
.wizard-icon .x-toolbar .xtb-sep {
background-image:url(../images/wizard-arrow.png);
}
.wizard-icon .x-toolbar .xtb-sep {
background-position:center center;
background-repeat:no-repeat;
border:0 none;
cursor:default;
display:block;
font-size:1px;
height:16px;
margin:0 2px;
overflow:hidden;
width:10px;
}
i have even increased the width as well.
it still show the existing sep image and i want this arrow image in this toolbar only
Thx
-
29 Jul 2010 6:14 AM #4
Well you have not added the class wizard-icon to the Panel which owns this toolbar then.
Debug your CSS using Firebug!Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
29 Jul 2010 6:15 AM #5
You could also just use a raw Component in the Toolbar:
And style that with some CSS rules.Code:{ xtype: 'component', cls: 'my-special-arrow-class' }Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
29 Jul 2010 6:18 AM #6
I have already add the class
{
xtype: 'tbseparator',
cls:'wizard-icon'
}
that it is not override.
Thx
-
29 Jul 2010 6:53 AM #7
Animal it does not work, do you know how to extend the tpseperator class or any other solution..
or any other xtype
-
29 Jul 2010 7:34 AM #8
I give up.
If you can't get a simple Component to be styled, then give it up.Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
29 Jul 2010 8:22 AM #9
css issue solving with override? Wrong!
Use firebug, edit the css on the fly until it's displayed as you want, then copy the rule to your css. This has nothing to do with ExtJS, it's normal web work.
Did you ever tried !important ?vg Steffen
--------------------------------------
Release Manager of TYPO3 4.5
energlobe.de - german online magazine
Similar Threads
-
How to disable/remove a class?
By don4321 in forum Ext 3.x: Help & DiscussionReplies: 5Last Post: 10 Jul 2010, 11:08 PM -
Remove border from a panel or a css class with the background only?
By abtrapp in forum Ext 3.x: Help & DiscussionReplies: 1Last Post: 21 Jan 2010, 1:34 AM -
How to remove/delete some property of some class
By bugsbunny in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 6 May 2009, 4:56 PM -
[OPEN] Array class getting a remove function from the adapters
By Rewand in forum Ext 1.x: BugsReplies: 6Last Post: 22 Jun 2007, 10:11 AM



Reply With Quote