From 5dee954413c553513d65039f0e594d01e3b227ea Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 13 Jul 2013 15:53:07 +0300 Subject: 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" --- src/gui/npcdialog.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/npcdialog.cpp') 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); -- cgit v1.2.3-60-g2f50