mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
* Add SegmentedBarChart * CryoPodWindow: Integrate SegmentedBarChart * Remove BeakerBarChart * SegmentedBarChart: Fix first frame jank To update the entries' widths, it needed Control.Width, but that wouldn't be available until later. I moved things around so that it gets updated in ArrangeOverride the first time. * GasAnalyzerWindow: Integrate SegmentedBarChart * AbsorbentItemStatus: Integrate SegmentedBarChart * Remove SplitBar * SegmentedBarChart: Fix UI scale bug With 200% UI scale the gaps would be half the intended size. * SegmentedBarChart: Explicit deltaSeconds * AbsorbentItemStatus: Use bar chart's background color * SegmentedBarChart: Edit comments * SegmentedBarChart: Edit calculation explanation * SegmentedBarChart: Fix a subtle UI scale bug MinSmallNotchScreenDistance was promised to be in UI units in the comment, but it was actually in pixels. * SegmentedBarChart: Add sheetlet and doc comments * SegmentedBarChart: Use StylePropertyDefault instead of TryGetStyleProperty * SegmentedBarChart: Remove unnecessary helper * SegmentedBarChart: Small redundancy removal * AbsorbentItemStatus: Small adjustments based on feedback * SegmentedBarChart: Use named colors * AbsorbentItemStatus: Draw a medium notch every six notches instead of five This is because the capacity of mops was changed to 12. It looks a little better this way. * SegmentedBarChart: Reorder functions, add doc comment
11 lines
365 B
XML
11 lines
365 B
XML
<Control xmlns="https://spacestation14.io"
|
|
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls">
|
|
<controls:SegmentedBarChart
|
|
HorizontalExpand="True"
|
|
VerticalExpand="True"
|
|
Name="Bar"
|
|
MinHeight="20"
|
|
MediumNotchInterval="6"
|
|
BigNotchInterval="12"
|
|
BigNotchHeight="0.4"/>
|
|
</Control>
|