You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-dev@incubator.apache.org by "Rob Gagne (JIRA)" <xa...@incubator.apache.org> on 2006/12/02 22:31:21 UTC

[jira] Commented: (XAP-96) Widgets: Button: Buttons are different heights in Firefox and IE

    [ http://issues.apache.org/jira/browse/XAP-96?page=comments#action_12455132 ] 
            
Rob Gagne commented on XAP-96:
------------------------------

Contributing a fix for this:

Some style sheet changes:
table-layout: fixed; 
padding: 0px;
added to xapButton

and 

padding: 2px 0px 0px 0px;

changed in xapButtonMouseDown

The buttons looked different because padding worked differently between the browsers.  With this change text no longer looks pressed in IE because when padding was applied without table-layout fixed the button would change size; however the button sizes are consistent.

> Widgets: Button: Buttons are different heights in Firefox and IE
> ----------------------------------------------------------------
>
>                 Key: XAP-96
>                 URL: http://issues.apache.org/jira/browse/XAP-96
>             Project: XAP
>          Issue Type: Bug
>          Components: Widgets
>            Reporter: Trevor Oldak
>
> Open any widget example that uses standardbuttons.xal in firefox and IE and you'll see that the buttons in Firefox are much smaller than those in IE. Both have specified heights. It appears that the discrepancy comes from IE putting the button border on the outside, which firefox puts it on the inside. This means that a button with height 25 and border 2px wide will be 29 px high in IE, and 25 in firefox.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira