diff options
author | Ira Rice <irarice@gmail.com> | 2009-01-26 21:35:48 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-26 21:49:48 -0700 |
commit | cbb9ceaac89f7a29ff36445f2405c1a24b7a0da8 (patch) | |
tree | 14da9b315e582313b403ee5b1f59b3f8ae646c35 /src | |
parent | 65e552d0bd3dee1f1962fc7e9adac4126ab603a4 (diff) | |
download | mana-cbb9ceaac89f7a29ff36445f2405c1a24b7a0da8.tar.gz mana-cbb9ceaac89f7a29ff36445f2405c1a24b7a0da8.tar.bz2 mana-cbb9ceaac89f7a29ff36445f2405c1a24b7a0da8.tar.xz mana-cbb9ceaac89f7a29ff36445f2405c1a24b7a0da8.zip |
Fixed a few default window sizes so that they look better for first time
client loaders.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/inventorywindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/npc_text.cpp | 2 | ||||
-rw-r--r-- | 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); |