Browse Source

More smooth resizing of timeline on window resize

css_transitions
josdejong 10 years ago
parent
commit
bd53df8748
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      src/timeline/Timeline.js

+ 5
- 2
src/timeline/Timeline.js View File

@ -113,8 +113,11 @@ function Timeline (container, items, options) {
bottom: function () {
return (mainOptions.orientation == 'top') ? '' : '0';
},
left: null,
right: '0',
left: function () {
// we align left to enable a smooth resizing of the window
return me.labelPanel.width;
},
right: null,
height: '100%',
width: function () {
return me.rootPanel.width - me.labelPanel.width;

Loading…
Cancel
Save