mirror of https://github.com/buggins/dlangui.git
reduce tree item indent
This commit is contained in:
parent
a2f05b2c48
commit
31495c01b1
|
@ -566,7 +566,7 @@ class TreeItemWidget : HorizontalLayout {
|
|||
level--;
|
||||
if (level < 0)
|
||||
level = 0;
|
||||
int w = level * style.font.size * 2;
|
||||
int w = level * style.font.size * 3 / 4;
|
||||
_tab.minWidth = w;
|
||||
_tab.maxWidth = w;
|
||||
if (_item.canCollapse()) {
|
||||
|
|
Loading…
Reference in New Issue