Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions Robust.Client/UserInterface/Controls/OutputPanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ public partial class OutputPanel : Control

public const string StylePropertyStyleBox = "stylebox";

public float LineSpacing { get; set; }

public bool ShowScrollDownButton
{
get => _showScrollDownButton;
Expand All @@ -43,6 +45,8 @@ public bool ShowScrollDownButton
private VScrollBar _scrollBar;
private Button _scrollDownButton;



public bool ScrollFollowing { get; set; } = true;

private bool _invalidOnVisible;
Expand Down Expand Up @@ -229,7 +233,7 @@ protected internal override void Draw(DrawingHandleScreen handle)
// run, and then setting RectClipContent = true to use scissor box testing to handle the controls
// visibility
entry.HideControls();
entryOffset += entry.Height + lineSeparation;
entryOffset += entry.Height + lineSeparation + LineSpacing;
continue;
}

Expand All @@ -244,7 +248,7 @@ protected internal override void Draw(DrawingHandleScreen handle)

entry.Draw(_tagManager, handle, font, contentBox, entryOffset, context, UIScale);

entryOffset += entry.Height + lineSeparation;
entryOffset += entry.Height + lineSeparation + LineSpacing;
}
}

Expand Down
Loading