To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=98805
------- Additional comments from [email protected] Wed Feb 18 07:36:08 +0000 2009 ------- Symptom-wise, we seem to have two problems here: One is that setting the Width/Height property of a dialog does result in values other than the one you set. For instance, if you modify the macro in the bug doc of this issue here as follows: MsgBox oModel.Width & "x" & oModel.Height oModel.Width = 273 oModel.Height = 234 MsgBox oModel.Width & "x" & oModel.Height , then you'll see that after setting Width and Height to 273x234, the actual values are 267x218, instead. I think that this part - Width/Height not working correctly - is in fact a duplicate of issue 87596. However, the second problem here is that changing the *position* of the dialog also changes the size: MsgBox oModel.Width & "x" & oModel.Height oModel.Width = 273 oModel.Height = 234 MsgBox oModel.Width & "x" & oModel.Height oModel.PositionY = 150 oModel.PositionX = 180 MsgBox oModel.Width & "x" & oModel.Height The third MsgBox will display "261x186", i.e. changing PositionX and PositionY also changed the size. Both problems might be related. In fact, I strongly believe that we have a problem with window decorations here: Changing any of the geometry properties seems to result in setting width/height to the real values minus window decoration. At least, this was the root cause for a similar issue we had with design-time dialogs (in the dialog editor). --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
