Make the CharacterMap start with a reasonnable window size on first

launch (without saved settings). As it was before, the window took all 
the space it needed i.e. each section was on a single line.  

Maybe a better way would be to just start it zoomed.

Maybe it fixes ticket #3752.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30529 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Saint-Pierre
2009-04-30 23:52:59 +00:00
parent 45febed680
commit fadee6b0dd
@@ -126,6 +126,9 @@ CharacterWindow::CharacterWindow()
if (settings.FindRect("window frame", &frame) == B_OK) {
MoveTo(frame.LeftTop());
ResizeTo(frame.Width(), frame.Height());
} else {
MoveTo(BPoint(100, 100));
ResizeTo(600, 450);
}
// create GUI