Skip to content

Commit

Permalink
Update GeneralAttributes.md
Browse files Browse the repository at this point in the history
  • Loading branch information
canarddu38 authored Aug 25, 2024
1 parent 89fb40f commit a91e85e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions documentation/GeneralAttributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ These attributes can be applied to **every** controls.

`position` (int/string) is the place where your control will be (can be "**x, y**", "**top**", "**top_left**", "**top_right**", "**bottom**", "**bottom_left**", "**bottom_right**", "**left**", "**right**" or "**center**")

![position_schema](https://github.com/d3m0n-project/d3m0n_os/assets/71982379/a77a3f24-e667-4fb0-9588-90196317451a)
![position_schema](images/position_schema.png)


`color` (rgb/string) is your control foreground color (can be [a color](https://github.com/d3m0n-project/d3m0n_os/blob/main/rootfs/usr/share/d3m0n/documentation/Colors.md) or a rgb color ex. "**255, 0, 80**")
`color` (rgb/string) is your control foreground color (can be [a color](Colors.md) or a rgb color ex. "**255, 0, 80**")

`bg_color` (rgb/string) is your control background color (can be [a color](https://github.com/d3m0n-project/d3m0n_os/blob/main/rootfs/usr/share/d3m0n/documentation/Colors.md) or a rgb color ex. "**255, 0, 80**")
`bg_color` (rgb/string) is your control background color (can be [a color](Colors.md) or a rgb color ex. "**255, 0, 80**")

`width` (int) and `height` (int) can only be positive numbers or percentage of the window size

0 comments on commit a91e85e

Please sign in to comment.