mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 11:40:52 +01:00
* Add button to jump to live chat when scrolled up * Expose scroll button class name as a public constant * Add localisation string to engine * Make enabling the OutputPanel scroll button opt-in * Enable scroll button for the debug console * De-duplicate visibility logic * Update scroll button visibility when the enabling property is changed
14 lines
765 B
XML
14 lines
765 B
XML
<Control xmlns="https://spacestation14.io"
|
|
xmlns:gfx="clr-namespace:Robust.Client.Graphics">
|
|
<BoxContainer Orientation="Vertical">
|
|
<OutputPanel Name="Output" VerticalExpand="True" StyleClasses="monospace" ShowScrollDownButton="True">
|
|
<OutputPanel.StyleBoxOverride>
|
|
<gfx:StyleBoxFlat BackgroundColor="#25252add"
|
|
ContentMarginLeftOverride="3" ContentMarginRightOverride="3"
|
|
ContentMarginBottomOverride="3" ContentMarginTopOverride="3" />
|
|
</OutputPanel.StyleBoxOverride>
|
|
</OutputPanel>
|
|
<HistoryLineEdit Name="CommandBar" Access="Public" PlaceHolder="{Loc 'console-line-edit-placeholder'}" />
|
|
</BoxContainer>
|
|
</Control>
|