diff options
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/charcreatedialog.cpp | 3 | ||||
-rw-r--r-- | src/gui/windows/equipmentwindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/inventorywindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/shopwindow.cpp | 2 |
4 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/windows/charcreatedialog.cpp b/src/gui/windows/charcreatedialog.cpp index 9037ac614..4f9c82fe2 100644 --- a/src/gui/windows/charcreatedialog.cpp +++ b/src/gui/windows/charcreatedialog.cpp @@ -243,7 +243,8 @@ CharCreateDialog::CharCreateDialog(CharSelectDialog *const parent, const int size = config.getIntValue("fontSize"); mGenderStrip = new TabStrip(this, "gender_" + getWindowName(), - size + 16); + size + 16, + 0); mGenderStrip->setPressFirst(false); mGenderStrip->addActionListener(this); mGenderStrip->setActionEventId("gender_"); diff --git a/src/gui/windows/equipmentwindow.cpp b/src/gui/windows/equipmentwindow.cpp index 514499547..fa7bb6a63 100644 --- a/src/gui/windows/equipmentwindow.cpp +++ b/src/gui/windows/equipmentwindow.cpp @@ -98,7 +98,7 @@ EquipmentWindow::EquipmentWindow(Equipment *const equipment, { const int size = config.getIntValue("fontSize") + getOption("tabHeightAdjust", 16); - mTabs = new TabStrip(this, "equipment", size); + mTabs = new TabStrip(this, "equipment", size, 0); mTabs->addActionListener(this); mTabs->setActionEventId("tab_"); mTabs->setSelectable(false); diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp index 3a62686ce..cf9e2c3c7 100644 --- a/src/gui/windows/inventorywindow.cpp +++ b/src/gui/windows/inventorywindow.cpp @@ -176,7 +176,7 @@ InventoryWindow::InventoryWindow(Inventory *const inventory) : mItems->addSelectionListener(this); const int size = config.getIntValue("fontSize"); - mFilter = new TabStrip(this, "filter_" + getWindowName(), size + 16); + mFilter = new TabStrip(this, "filter_" + getWindowName(), size + 16, 0); mFilter->addActionListener(this); mFilter->setActionEventId("tag_"); mFilter->setSelectable(false); diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp index d3b37b039..6ffd2649a 100644 --- a/src/gui/windows/shopwindow.cpp +++ b/src/gui/windows/shopwindow.cpp @@ -161,7 +161,7 @@ ShopWindow::ShopWindow() : const int size = config.getIntValue("fontSize") + getOption("tabHeightAdjust", 16); - mTabs = new TabStrip(this, "shop", size); + mTabs = new TabStrip(this, "shop", size, 0); mTabs->addActionListener(this); mTabs->setActionEventId("tab_"); // TRANSLATORS: shop window tab name |