|Project:||The Open Toolkit library|
There was a forum thread about this issue and the Fiddler wrote:
"The Width and Height parameters reflect to the whole window, not just the client area. The ability to set the client area directly has been added to OpenTK 0.9.9: use the ClientRectangle and ClientSize properties."
"Closing issues fixed in 0.9.9-2"
But I get similar issues in 1.0 beta 2. (I'm using Windows 7 x64). The Width and Height properties seems to be inconsistently treated as both Size and ClientSize.
- get returns ClientSize, but set seems to affect Size.....
- if Width is set, Height will also be set (would not be an issue if get/set was consistent)
These three statements gives equivalent results:
Width = Width; Height = Height; Size = ClientSize;
the GameWindow shrinks...