mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-28 17:16:29 +03:00
Added "border" CSS shorthand.
Fixed "background" CSS shorthand parsing. All UI Widgets emit "OnClose" event when being destroyed. Minor fixes in UIDropDownList and UIImage. Added aliases for "layout_width" -> "lw", "layout_height" -> "lh", "layout_weight" -> "lw8". And for "wrap_content" -> "wc" and "match_parent" -> "mp".
This commit is contained in:
@@ -856,7 +856,7 @@ or one of the special constants.
|
||||
* `match_parent`: The element must be as big as its parent.
|
||||
* `wrap_content`: The element should be only big enough to enclose its content (plus padding).
|
||||
* Default value: `wrap_content`
|
||||
* Aliases: `layout_height`
|
||||
* Aliases: `layout_height`, `lh`
|
||||
|
||||
---
|
||||
|
||||
@@ -928,7 +928,7 @@ layout weight.
|
||||
* Applicable to: Any element child of a EE::UI::UILinearLayout (LinearLayout)
|
||||
* Data Type: [number](#number-data-type) (normalized from `0` to `1`)
|
||||
* Default value: `0`
|
||||
* Aliases: `layout_weight`
|
||||
* Aliases: `layout_weight`, `lw8`
|
||||
|
||||
---
|
||||
|
||||
@@ -946,7 +946,7 @@ or one of the special constants.
|
||||
* `match_parent`: The element must be as big as its parent.
|
||||
* `wrap_content`: The element should be only big enough to enclose its content (plus padding).
|
||||
* Default value: `wrap_content`
|
||||
* Aliases: `layout_width`
|
||||
* Aliases: `layout_width`, `lw`
|
||||
|
||||
---
|
||||
|
||||
@@ -2067,6 +2067,13 @@ Read [background-position](https://developer.mozilla.org/en-US/docs/Web/CSS/back
|
||||
|
||||
---
|
||||
|
||||
### border
|
||||
|
||||
Read [border](https://developer.mozilla.org/en-US/docs/Web/CSS/border) documentation.
|
||||
`border-style` is not implemented yet.
|
||||
|
||||
---
|
||||
|
||||
### border-color
|
||||
|
||||
Read [border-color](https://developer.mozilla.org/en-US/docs/Web/CSS/border-color) documentation.
|
||||
|
||||
Reference in New Issue
Block a user