CatStation/Content.Client/Credits/CreditsWindow.xaml
āda b924dedb4f
Upgrades to attribution UI (#45523)
* mega commit

* small commit

* better generic

* comment

* fix annoyance

* refactor: remove unused using

* refactor the control

* reset scroll

* refactor: reorder members of IntegerLineEdit

* refactor: whitespaces and members ordering

* Update Content.Client/UserInterface/Controls/IntegerLineEdit.cs

Swap private fields for value fields

Co-authored-by: Fildrance <fildrance@gmail.com>

* this is why you never commit through github

* revert list attribution for source

* oops

---------

Co-authored-by: iaada <iaada@users.noreply.github.com>
Co-authored-by: Fildrance <fildrance@gmail.com>
2026-09-27 19:18:31 +00:00

57 lines
2.6 KiB
XML

<DefaultWindow xmlns="https://spacestation14.io"
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
Title="{Loc 'credits-window-title'}"
SetSize="650 650">
<TabContainer Name="MasterTabContainer">
<ScrollContainer Name="Ss14ContributorsTab"
HScrollEnabled="False">
<BoxContainer Name="Ss14ContributorsContainer"
Orientation="Vertical"
Margin="2 2 0 0">
<!-- Contributors get added here by code -->
</BoxContainer>
</ScrollContainer>
<ScrollContainer Name="PatronsTab"
HScrollEnabled="False">
<BoxContainer Name="PatronsContainer"
Orientation="Vertical"
Margin="2 2 0 0">
<!-- Patrons get added here by code -->
</BoxContainer>
</ScrollContainer>
<ScrollContainer Name="LicensesTab"
HScrollEnabled="False">
<BoxContainer Name="LicensesContainer"
Orientation="Vertical"
Margin="2 2 0 0">
<!-- Licenses get added here by code -->
</BoxContainer>
</ScrollContainer>
<BoxContainer Name="AttributionsTab"
Orientation="Vertical">
<BoxContainer Orientation="Horizontal"
Align="Center"
SetHeight="32"
Margin="2">
<RichTextLabel Text="{Loc 'credits-window-page-label'}"/>
<controls:IntegerLineEdit Name="PageJumpLineEdit"
SelectAllOnFocus="True"
SetWidth="40"
MinValue="1"/>
<BoxContainer Name="ButtonsContainer"
Orientation="Horizontal"
Margin="8 0"/>
<!-- Page buttons are generated here so that their invokes can be reset -->
</BoxContainer>
<ScrollContainer Name="AttributionsScroll"
HScrollEnabled="False"
VerticalExpand="True">
<BoxContainer Name="AttributionsContainer"
Orientation="Vertical"
Margin="2">
<!-- .rsi and .rga Attributions go here get added here by code -->
</BoxContainer>
</ScrollContainer>
</BoxContainer>
</TabContainer>
</DefaultWindow>