From d49a39e76f5e086f443fe24e89ab5445682b3c31 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Mon, 26 Jan 2009 21:35:48 -0700 Subject: Fixed a few default window sizes so that they look better for first time client loaders. Signed-off-by: Ira Rice --- src/gui/inventorywindow.cpp | 2 +- src/gui/npc_text.cpp | 2 +- src/gui/npclistdialog.cpp | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp index e0e496f7..58c13910 100644 --- a/src/gui/inventorywindow.cpp +++ b/src/gui/inventorywindow.cpp @@ -57,7 +57,7 @@ InventoryWindow::InventoryWindow(int invSize): setCloseButton(true); // If you adjust these defaults, don't forget to adjust the trade window's. - setDefaultSize(115, 25, 322, 200); + setDefaultSize(115, 25, 375, 300); std::string longestUseString = getFont()->getWidth(_("Equip")) > getFont()->getWidth(_("Use")) ? diff --git a/src/gui/npc_text.cpp b/src/gui/npc_text.cpp index 3a0a86a6..a2e043d1 100644 --- a/src/gui/npc_text.cpp +++ b/src/gui/npc_text.cpp @@ -40,7 +40,7 @@ NpcTextDialog::NpcTextDialog(): setMinWidth(200); setMinHeight(150); - setDefaultSize(0, 0, 260, 175); + setDefaultSize(0, 0, 260, 200); mBrowserBox = new BrowserBox(BrowserBox::AUTO_WRAP); mBrowserBox->setOpaque(false); diff --git a/src/gui/npclistdialog.cpp b/src/gui/npclistdialog.cpp index 9f41be67..bb815680 100644 --- a/src/gui/npclistdialog.cpp +++ b/src/gui/npclistdialog.cpp @@ -38,6 +38,8 @@ NpcListDialog::NpcListDialog(): setMinWidth(200); setMinHeight(150); + setDefaultSize(0, 0, 260, 200); + mItemList = new ListBox(this); scrollArea = new ScrollArea(mItemList); okButton = new Button(_("OK"), "ok", this); -- cgit v1.2.3-70-g09d2