[Mono-list] Bad Mono 2.4.2.1 / 2.2 using "OnLoad"
LKeene
lionel.keene at gmail.com
Wed Jul 8 17:02:54 EDT 2009
Hi folks,
I just got around to installing v2.4.2.1 of Mono on my XP box today.
Previously I had been using 2.2. I'm developing my app in VS2008 and
checking it periodically by running debug/release builds under both
Microsoft and Mono runtimes.
In my app I control the size and layout of controls by first querying the
MainForm for the client size. The MainForm is default Maximized when app is
run. Everything is based on this...the layout, the gdi+ drawing, etc. I've
been doing all of my initial control sizing and layout in the MainForm
constructor and so far this has worked well. Recently, I moved all the
layout/sizing code to "MainForm.OnLoad()", and the layout/sizing is all
wrong. It seems the controls are being sized prior to the MainForm being
maximized to fill the monitor. This occurs in both 2.2 / 2.4.2.1 versions of
Mono. It works just fine in Microsoft's runtime, however (both the "OnLoad"
layout and the constructor layout versions).
Is the constructor indeed the correct location for this control
layout/sizing? If not, where?
Thanks in advcance everyone.
-L
--
View this message in context: http://www.nabble.com/Bad-Mono-2.4.2.1---2.2-using-%22OnLoad%22-tp24399324p24399324.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list