This commit is contained in:
Vadim Lopatin 2015-02-11 10:54:27 +03:00
parent 75ef00fb15
commit a749f127f8
2 changed files with 3 additions and 1 deletions

View File

@ -87,7 +87,7 @@ struct DockSpace {
if (_docks.length) { if (_docks.length) {
if (_space < _minSpace) { if (_space < _minSpace) {
if (_space == 0) if (_space == 0)
_space = (_minSpace + _maxSpace) / 2; _space = _minSpace + (_maxSpace - _minSpace) * 1 / 3;
else else
_space = _minSpace; _space = _minSpace;
} }

View File

@ -246,9 +246,11 @@ class EditWidgetBase : ScrollWidgetBase, EditableContentListener, MenuItemAction
} }
protected void drawLeftPaneFolding(DrawBuf buf, Rect rc, int line) { protected void drawLeftPaneFolding(DrawBuf buf, Rect rc, int line) {
buf.fillRect(rc, 0xF0F0F0);
} }
protected void drawLeftPaneIcons(DrawBuf buf, Rect rc, int line) { protected void drawLeftPaneIcons(DrawBuf buf, Rect rc, int line) {
buf.fillRect(rc, 0xC0C0C0);
} }
protected void drawLeftPaneModificationMarks(DrawBuf buf, Rect rc, int line) { protected void drawLeftPaneModificationMarks(DrawBuf buf, Rect rc, int line) {