i do have firebug, but seriously i don't know how to use it to check the attributes of the button. i have an application just like GWT-EXT showcase, and the button is on one of the tab panel on the right side, how can i find that button in firebug? Thanks.
On Thu, Dec 4, 2008 at 11:28 AM, avadh patel <[EMAIL PROTECTED]> wrote: > Do you use firebug (https://addons.mozilla.org/en-US/firefox/addon/1843) > to check what is the attributes of button after its render? > It helps me a lot to know what happens at the end of rendering. So use that > to check if your button is actually getting the width and height CSS > attributes. > > - Avadh > > > On Thu, Dec 4, 2008 at 3:42 PM, yi dan <[EMAIL PROTECTED]> wrote: > >> i defined the css for button, but still button's size didn't change, what >> could be wrong??? thanks. >> >> CSS: >> .mybutton .x-btn-right{ >> background:transparent url(../images/default/button/btn-sprite.gif) >> no-repeat scroll right; >> height:150px; >> padding-right: 15px; >> } >> >> .mybutton .x-btn-left { >> background:transparent url(../images/default/button/btn-sprite.gif) >> no-repeat scroll right; >> height:150px; >> padding-right: 15px; >> } >> >> .mybutton .x-btn-center{ >> background:transparent url(../images/default/button/btn-sprite.gif) >> repeat-x center; >> width:150px; >> height:80px; >> text-align:center; >> } >> >> .mybutton .x-btn-text { >> line-height: 150px; >> font-family: Arial, Helvetica, sans-serif; >> font-size:60px; >> font-weight:bold; >> } >> >> and in the code: >> >> Button myButton = new Button("hello"); >> myButton.setCls("mybutton"); >> >> >> >> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GWT-Ext Developer Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/gwt-ext?hl=en -~----------~----~----~----~------~----~------~--~---
