diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-04 01:05:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-04 01:05:30 +0300 |
commit | bc510019c0e0b9cc14f0c580667b384568177f7a (patch) | |
tree | 84155a845bf5737666737f71713e7fec644d3187 /src/gui/windows/npcdialog.cpp | |
parent | 50ccaf404cdbe5b635f003ff209996f9062183d5 (diff) | |
download | manaplus-bc510019c0e0b9cc14f0c580667b384568177f7a.tar.gz manaplus-bc510019c0e0b9cc14f0c580667b384568177f7a.tar.bz2 manaplus-bc510019c0e0b9cc14f0c580667b384568177f7a.tar.xz manaplus-bc510019c0e0b9cc14f0c580667b384568177f7a.zip |
Merge scrollarea classes into one.
Diffstat (limited to 'src/gui/windows/npcdialog.cpp')
-rw-r--r-- | src/gui/windows/npcdialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp index a1b2109fb..1956a8da3 100644 --- a/src/gui/windows/npcdialog.cpp +++ b/src/gui/windows/npcdialog.cpp @@ -147,8 +147,8 @@ NpcDialog::NpcDialog(const int npcId) : mTextBox->setEnableKeys(true); mTextBox->setEnableTabs(true); - mScrollArea->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_NEVER); - mScrollArea->setVerticalScrollPolicy(gcn::ScrollArea::SHOW_ALWAYS); + mScrollArea->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER); + mScrollArea->setVerticalScrollPolicy(ScrollArea::SHOW_ALWAYS); // Setup listbox mItemList->setWrappingEnabled(true); @@ -162,8 +162,8 @@ NpcDialog::NpcDialog(const int npcId) : mItemList->setRowHeight(gui->getNpcFont()->getHeight()); setContentSize(260, 175); - mListScrollArea->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_NEVER); - mItemScrollArea->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_NEVER); + mListScrollArea->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER); + mItemScrollArea->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER); mItemList->setVisible(true); mTextField->setVisible(true); mIntField->setVisible(true); |