Browse Source

themes: fix padding of QLineEdit in QListView

Le Tan 8 years ago
parent
commit
a2849ed577
2 changed files with 10 additions and 0 deletions
  1. 5 0
      src/resources/themes/v_pure/v_pure.qss
  2. 5 0
      src/resources/themes/v_white/v_white.qss

+ 5 - 0
src/resources/themes/v_pure/v_pure.qss

@@ -671,6 +671,11 @@ QLineEdit[VimCommandLine="true"] {
     color: @lineedit_fg;
     background: @lineedit_bg;
 }
+
+QAbstractItemView QLineEdit {
+    padding: 0px;
+    margin: 0px;
+}
 /* End QLineEdit */
 
 /* QPlainTextEdit QTextEdit */

+ 5 - 0
src/resources/themes/v_white/v_white.qss

@@ -583,6 +583,11 @@ QLineEdit[VimCommandLine="true"] {
     color: @lineedit_fg;
     background: @lineedit_bg;
 }
+
+QAbstractItemView QLineEdit {
+    padding: 0px;
+    margin: 0px;
+}
 /* End QLineEdit */
 
 /* QTabWidget */