diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-07-13 15:53:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-07-13 15:53:07 +0300 |
commit | 5dee954413c553513d65039f0e594d01e3b227ea (patch) | |
tree | 7a2ea13834f5f9947783f1124a6e0512e03c0d43 /src/gui/npcdialog.cpp | |
parent | 9b578956b8cdcba74b731a78ffdf7e26b335a03d (diff) | |
download | manaplus-5dee954413c553513d65039f0e594d01e3b227ea.tar.gz manaplus-5dee954413c553513d65039f0e594d01e3b227ea.tar.bz2 manaplus-5dee954413c553513d65039f0e594d01e3b227ea.tar.xz manaplus-5dee954413c553513d65039f0e594d01e3b227ea.zip |
Add support for tabulation to fixed browserbox rows.
Command: /tN;
where N is number or characters in line.
Example:
"test\t10;line" will be converted into "test line"
Diffstat (limited to 'src/gui/npcdialog.cpp')
-rw-r--r-- | src/gui/npcdialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp index 03e0006b5..dd2243310 100644 --- a/src/gui/npcdialog.cpp +++ b/src/gui/npcdialog.cpp @@ -134,6 +134,7 @@ NpcDialog::NpcDialog(const int npcId) : mTextBox->setLinkHandler(mItemLinkHandler); mTextBox->setFont(gui->getNpcFont()); mTextBox->setEnableKeys(true); + mTextBox->setEnableTabs(true); mScrollArea->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_NEVER); mScrollArea->setVerticalScrollPolicy(gcn::ScrollArea::SHOW_ALWAYS); |