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 "Turyn, Michael (JIRA)" <xa...@incubator.apache.org> on 2007/02/05 18:20:05 UTC

[jira] Created: (XAP-300) Borders and widths/heights don't interact well for some widgets and browsers.

Borders and widths/heights don't interact well for some widgets and browsers.
-----------------------------------------------------------------------------

                 Key: XAP-300
                 URL: https://issues.apache.org/jira/browse/XAP-300
             Project: XAP
          Issue Type: Bug
          Components: Widgets
         Environment: IE7, Mozilla browsers
            Reporter: Turyn, Michael


For example:
    1.) Set the border of a widget to 1px/solid/red
    2.) Set the widget width to 100% of its parent element---use the pixel value for this to eliminate any percentage-based bugs that might come into play.
    3.) Set the widget border size to (picking a value at random) "25px".

Some widgets don't do well with this:  textArea, table,tree,menu, others?

This is a problem because for Mozilla, and now it looks like IE7, setting the outer dom node size doesn't take into account border size (and probably margin size).  We can get around this by instead using dojo.style.<set|get>Outer<Height|Width> calls, which take these into account or should.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.