fix(theme): reduce tree item horizontal padding to prevent truncation
QTreeView::item had padding: 4px on all sides, eating 8px of horizontal space per item. Combined with icon decorations and indentation this caused excessive middle-elide truncation in the model tree. Change to padding: 2px 0px (vertical only).
This commit is contained in:
@@ -759,7 +759,7 @@ QTreeView {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QTreeView::item {
|
QTreeView::item {
|
||||||
padding: 4px;
|
padding: 2px 0px;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -759,7 +759,7 @@ QTreeView {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QTreeView::item {
|
QTreeView::item {
|
||||||
padding: 4px;
|
padding: 2px 0px;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user