Changes between Initial Version and Version 3 of Ticket #10590


Ignore:
Timestamp:
Jan 6, 2010, 2:48:50 AM (10 years ago)
Author:
bill
Comment:

postCreate() has some code from [17678] to handle a sizing quirk with IE7 margins/padding:

if(isIE && (isIE < 8 || dojo.isQuirks)){ // fixed in IE8/strict
	with(this.titleNode){ // resize BUTTON tag so parent TD won't inherit extra padding
		style.width = scrollWidth + "px";
		this.connect(this.titleNode, "onresize", function(){
			setTimeout( function(){ style.width = scrollWidth + "px"; }, 0);
		});
	}
}

Actually it's the same code you posted above.

I see the onresize handler firing in the case when the "change labels" button is pressed in test_Button.html (I added a console.log()), and further I'm not seeing a width problem, although I am seeing a height problem... can you attach your test case?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10590

    • Property Owner set to Douglas Hays
    • Property Summary changed from dijit.form.ComboButton.attr('value', 'newValue') resize Failure to ComboButton: attr('value', 'newValue') resize failure (IE7)
  • Ticket #10590 – Description

    initial v3  
    44
    55Reproduce scenario:
    6 I create a ComboButton and give them a group to choose from it.
    7 When the User choose a point the ComboBox.attr('label') is set to the new label.
     6I create a !ComboButton and give them a group to choose from it.
     7When the User choose a point the !ComboBox.attr('label') is set to the new label.
    88
    99Failure: