diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-23 23:39:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-23 23:39:01 +0300 |
commit | 98295d32030c620040e3e6bd912c6808174640e4 (patch) | |
tree | 20f938a3dc3421d0c9db1c9bbe6af63643470fe6 /src/gui/windows | |
parent | 56521cb9236ac7e967117cb967c371c1ae836061 (diff) | |
download | manaplus-98295d32030c620040e3e6bd912c6808174640e4.tar.gz manaplus-98295d32030c620040e3e6bd912c6808174640e4.tar.bz2 manaplus-98295d32030c620040e3e6bd912c6808174640e4.tar.xz manaplus-98295d32030c620040e3e6bd912c6808174640e4.zip |
Remove default parameters from tabstrip.
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 |