Jelajahi Sumber

TabIndicator: left aligned column number

Le Tan 7 tahun lalu
induk
melakukan
553b2b08a3
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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(lineCount)
                                    .arg((int)(line * 1.0 / lineCount * 100), 2)
-                                   .arg(col, 3);
+                                   .arg(col, -3);
             m_cursorLabel->setText(cursorText);
             m_cursorLabel->show();
         } else {