PDA

View Full Version : Using GXT



Saurabh1985
2 Aug 2009, 11:32 PM
Hello

I am using ext gwt for my project. everything is going fine but no images are displayed. suppose I took form or label.. or tab.. the default images for that are not displayed on the browser. it shows only just text . suppose there are 3 tabs . it shows only name tab1 tab2 tab3 but not images of tab.. what should I include for that.. its not taking default images.

micgala
2 Aug 2009, 11:44 PM
By default those components have no icons...
That is why they are not being displayed...

Regards,
Michel.

Saurabh1985
3 Aug 2009, 12:33 AM
then how to display that.. what should I change.. if there is no tab image and only text then what is the use of it ?

micgala
3 Aug 2009, 12:39 AM
I guess I don't understand what you mean by that.

You can or can not use icons in one tab... it is up to you.
You can use text only... why not???

Are you sure you are really talking about icons??
Because it makes total sense not to use icons on tabs if you don't want to... and I don't see any problems on that....

Anyway, you can use the setIconStyle method on your TabItem to define the icon you want to use.

Regards,
Michel.

Saurabh1985
3 Aug 2009, 1:03 AM
I guess not icons.. I mean desing of tab. i.e not displayed. only text gets displayed

micgala
3 Aug 2009, 1:35 AM
Is your problem related to this?:

http://extjs.com/forum/showthread.php?t=75499

If so, they have already fixed in SVN (although a release with the fix was not done yet).

If not related, it would be good if you could explain better what is your problem, maybe including a print of your screen.

Regards,
Michel.

dpope22
3 Aug 2009, 12:38 PM
Did you include the ext css file in your GWT module?

<stylesheet src='css/ext-all.css'/>