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:
@@ -126,6 +126,9 @@ CharacterWindow::CharacterWindow()
|
|||||||
if (settings.FindRect("window frame", &frame) == B_OK) {
|
if (settings.FindRect("window frame", &frame) == B_OK) {
|
||||||
MoveTo(frame.LeftTop());
|
MoveTo(frame.LeftTop());
|
||||||
ResizeTo(frame.Width(), frame.Height());
|
ResizeTo(frame.Width(), frame.Height());
|
||||||
|
} else {
|
||||||
|
MoveTo(BPoint(100, 100));
|
||||||
|
ResizeTo(600, 450);
|
||||||
}
|
}
|
||||||
|
|
||||||
// create GUI
|
// create GUI
|
||||||
|
|||||||
Reference in New Issue
Block a user