Changes between Initial Version and Version 1 of Ticket #2048


Ignore:
Timestamp:
Dec 1, 2006, 2:45:11 AM (13 years ago)
Author:
bill
Comment:

Ah yes, this is a common pattern because you can't get the size of a hidden element, or an element that isn't attached to the document tree (ie, has no parent).

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2048 – Description

    initial v1  
    11Only done this programmatically, seems the ComboBox>>onResize(), gets bad inputSize for buttonSize in fire fox 2.0
     2{{{
    23                onResize: function(){
    34                        var inputSize = dojo.html.getContentBox(this.textInputNode);
     
    1011                        dojo.html.setContentBox(this.downArrowNode, buttonSize);
    1112                },
    12 
     13}}}
    1314inputSize.height is returning -2 for me.
    1415