PDA

View Full Version : [OPEN] Toolbar button spacing



jchau
Nov 10, 2008, 9:15 PM
It seems like spacing between Coolite toolbar buttons is less than ExtJS. Using ExtJS's FeedViewer example, there is definitely 2px or more spacing between Add Feed and Remove button.

geoffrey.mcgill
Nov 10, 2008, 10:05 PM
Hi jchau,

I think this problem was created because of another fix that was added to solve a problem with Buttons in IE, see http://forums.ext.net/showthread.php?threadid=3364-5-1.aspx


The IE Button width problem has been a difficult one to isolate, but we're either going to have to roll back out of that fix, or come up with something new. 


Edit: Moved to Bugs (http://forums.ext.net/forumdisplay.php?forumid=5-1.aspx) (http://forums.ext.net/forumdisplay.php?forumid=5-1.aspx) from Premium Help

jchau
Nov 11, 2008, 12:41 PM
Is there anything I can do on my side to temporarily fix this? Maybe override the css class?

jchau
Dec 20, 2008, 2:03 AM
Any update on this one? Thanks!

jchau
Jan 15, 2009, 11:41 PM
Sorry to keep bumping this up, but the alignment just looks too close. If you can tell me which change to roll back, I can play around with the css a bit.

geoffrey.mcgill
Jan 22, 2009, 2:18 PM
Hi jchau,

If you seach for ".x-btn button{width:100%;}" in coolite-core.js and remove that associated code, the spacing problem should be fixed. 


The change to 100% was overriding the default value of "auto". There may be a specific css class that we could add which would only affect the Toolbar Buttons and change their width back to "auto".