浏览代码

TabIndicator: left aligned column number

Le Tan 7 年之前
父节点
当前提交
553b2b08a3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/vtabindicator.cpp

+ 1 - 1
src/vtabindicator.cpp

@@ -215,7 +215,7 @@ void VTabIndicator::update(const VEditTabInfo &p_info)
                                    .arg(line)
                                    .arg(line)
                                    .arg(lineCount)
                                    .arg(lineCount)
                                    .arg((int)(line * 1.0 / lineCount * 100), 2)
                                    .arg((int)(line * 1.0 / lineCount * 100), 2)
-                                   .arg(col, 3);
+                                   .arg(col, -3);
             m_cursorLabel->setText(cursorText);
             m_cursorLabel->setText(cursorText);
             m_cursorLabel->show();
             m_cursorLabel->show();
         } else {
         } else {