Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/vchelaru/Gum
Browse files Browse the repository at this point in the history
  • Loading branch information
vchelaru committed Dec 25, 2024
2 parents fc81dcb + 23d6b62 commit 0b4f245
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/gum-code/gum-code-reference/idataui.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# IDataUi

4 changes: 2 additions & 2 deletions docs/readme/gum-elements/general-properties/width-units.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ The following image shows a child ColoredRectangle with a Width of 200 **Percent

### Percentage of Source File

The [Sprite](https://github.com/vchelaru/Gum/tree/8c293a405185cca0e819b810220de684b436daf9/docs/Gum%20Elements/General%20Properties/Sprite/README.md) type has an extra **With Unit** called **Percentage of Source File**, which sets the width of the Sprite according to the file that it is displaying. This is the default **Width Unit** for Sprites.
The [Sprite](../sprite/) type has an extra **With Unit** called **Percentage of Source File**, which sets the width of the Sprite according to the file that it is displaying. This is the default **Width Unit** for Sprites.

The following image shows a child [Sprite](../sprite/) with 200 **Percentage of Source File** Width, which means it draws two times as wide as its source image:
The following image shows a child Sprite with 200 **Percentage of Source File** Width, which means it draws two times as wide as its source image:

![Sprite using 200 Percentage of File width](<../../../.gitbook/assets/11_05 58 09.png>)

Expand Down
2 changes: 2 additions & 0 deletions docs/readme/gum-elements/general-properties/y.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Y

0 comments on commit 0b4f245

Please sign in to comment.