Skip to content

Commit de1eb6e

Browse files
committed
Remove UI text size contraint
Signed-off-by: Ryan Luu <ryan.luu@ryanluu.dev>
1 parent d70bd75 commit de1eb6e

2 files changed

Lines changed: 4 additions & 29 deletions

File tree

‎src/Design/SatchelStyleSheet.model.json‎

Lines changed: 3 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/Design/SatchelStyleSheet.rsml‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ TextButton.Slot {
4141
Size = udim2 (60px, 60px);
4242
TextColor3 = $SlotTextColor;
4343
TextScaled = true;
44+
TextSize = $SlotTextSize;
4445
TextStrokeColor3 = $SlotTextStrokeColor;
4546
TextStrokeTransparency = $SlotTextStrokeTransparency;
4647
TextTruncate = :SplitWord;
@@ -119,11 +120,6 @@ TextButton.Slot {
119120
}
120121
}
121122

122-
::UITextSizeConstraint {
123-
MaxTextSize = $SlotTextSize;
124-
MinTextSize = 12;
125-
}
126-
127123
>TextLabel {
128124
Size = udim2 (0px, 0px);
129125
Visible = false;

0 commit comments

Comments
 (0)