[DE] Navigation refactoring: always show scrollbar, scroll to current header.
This commit is contained in:
parent
e51c72052e
commit
7ec3d4170f
|
@ -37,7 +37,7 @@
|
||||||
.tree-item {
|
.tree-item {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 28px;
|
min-height: 28px;
|
||||||
padding: 0px 0 0 24px;
|
padding: 0px 6px 0 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.name {
|
.name {
|
||||||
|
|
|
@ -153,7 +153,7 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
onChangeOutlinePosition: function(index) {
|
onChangeOutlinePosition: function(index) {
|
||||||
this.panelNavigation.viewNavigationList.selectByIndex(index);
|
this.panelNavigation.viewNavigationList.scrollToRecord(this.panelNavigation.viewNavigationList.selectByIndex(index));
|
||||||
},
|
},
|
||||||
|
|
||||||
onItemContextMenu: function(picker, item, record, e){
|
onItemContextMenu: function(picker, item, record, e){
|
||||||
|
|
|
@ -17,9 +17,12 @@
|
||||||
#navigation-list {
|
#navigation-list {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding: 8px 0;
|
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
|
||||||
|
.treeview {
|
||||||
|
padding: 8px 0;
|
||||||
|
}
|
||||||
|
|
||||||
.name.not-header {
|
.name.not-header {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue