Closed palant closed 8 years ago
In fact, Add-on SDK not sizing the panel correctly is caused by this line. Apparently, this padding is only being set on OS X, so the issue doesn't affect other platforms. I filed bug 1270095 on it.
Let's make sure that my work-around is only being applied on OS X...
Each call to
resize()
produces a change in horizontal size on Windows but not OS X. This is because the panel adds two pixels when measuring document size - this is necessary on OS X as the Add-on SDK won't size the panel correctly otherwise, this issue doesn't seem to exist on Windows however.