Skip to content
This repository has been archived by the owner on Jun 23, 2021. It is now read-only.

Commit

Permalink
Fixed cropped text while editing
Browse files Browse the repository at this point in the history
  • Loading branch information
xpoke committed Mar 27, 2014
1 parent 945eaae commit f5b62be
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 23 deletions.
15 changes: 15 additions & 0 deletions MetroDark.qss
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,21 @@ QListView::item:selected {
padding-left: 7px;
}

QListView::item > QWidget > QWidget,
QTreeView::item > QWidget > QWidget,
QTreeView::item > QWidget > QWidget > QWidget {
margin: 0;
padding: 1px;
padding-left: 4px;
font-size: 12px;
}

QTreeView::item QHeaderView {
margin: 0;
padding: 0;
font-size: 14px;
}

QListView#qlwIcons::item:selected {
margin-top: 1px;
background-color: #2c2c2c;
Expand Down
15 changes: 15 additions & 0 deletions MetroLite.qss
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,21 @@ QListView::item:selected {
padding-left: 7px;
}

QListView::item > QWidget > QWidget,
QTreeView::item > QWidget > QWidget,
QTreeView::item > QWidget > QWidget > QWidget {
margin: 0;
padding: 1px;
padding-left: 4px;
font-size: 12px;
}

QTreeView::item QHeaderView {
margin: 0;
padding: 0;
font-size: 14px;
}

QListView#qlwIcons::item:selected {
margin-top: 1px;
background-color: #fdfdfd;
Expand Down
36 changes: 14 additions & 22 deletions layout_custom.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 18 additions & 1 deletion source/MetroBase.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
margin:0;
padding:0;
outline:0;
border:0;
border: 0;
selection-background-color:$highlight-bg;
selection-color:$highlight-text;
}
Expand Down Expand Up @@ -523,6 +523,23 @@ QListView::item:selected
padding-left:$base-padding * 2 - 1;
}

QListView::item > QWidget > QWidget,
QTreeView::item > QWidget > QWidget,
QTreeView::item > QWidget > QWidget > QWidget
{
margin: 0;
padding: 1px;
padding-left: $base-padding;
font-size: 12px;
}

QTreeView::item QHeaderView
{
margin: 0;
padding: 0;
font-size: 14px;
}

QListView#qlwIcons::item:selected
{
margin-top:1px;
Expand Down

0 comments on commit f5b62be

Please sign in to comment.