diff --git a/src/dlangui/widgets/docks.d b/src/dlangui/widgets/docks.d index 09922d61..605fafb0 100644 --- a/src/dlangui/widgets/docks.d +++ b/src/dlangui/widgets/docks.d @@ -87,7 +87,7 @@ struct DockSpace { if (_docks.length) { if (_space < _minSpace) { if (_space == 0) - _space = (_minSpace + _maxSpace) / 2; + _space = _minSpace + (_maxSpace - _minSpace) * 1 / 3; else _space = _minSpace; } diff --git a/src/dlangui/widgets/editors.d b/src/dlangui/widgets/editors.d index daa94880..7f1e3545 100644 --- a/src/dlangui/widgets/editors.d +++ b/src/dlangui/widgets/editors.d @@ -246,9 +246,11 @@ class EditWidgetBase : ScrollWidgetBase, EditableContentListener, MenuItemAction } protected void drawLeftPaneFolding(DrawBuf buf, Rect rc, int line) { + buf.fillRect(rc, 0xF0F0F0); } protected void drawLeftPaneIcons(DrawBuf buf, Rect rc, int line) { + buf.fillRect(rc, 0xC0C0C0); } protected void drawLeftPaneModificationMarks(DrawBuf buf, Rect rc, int line) {