mirror of
https://gitlab.com/luk3yx/minetest-flow.git
synced 2025-08-21 15:16:08 +02:00
Undocument bgcolor (as it breaks with bgimg)
This commit is contained in:
parent
a56394ac9b
commit
b9240ffe60
11
README.md
11
README.md
@ -242,9 +242,9 @@ padding of 0.
|
||||
is between elements inside the box. If unspecified, `spacing` will default to
|
||||
0.2.
|
||||
|
||||
Container elements (HBox and VBox) can also have `bgcolor`, `bgimg`, and
|
||||
`bgimg_middle` parameters that specify a background for the container. The
|
||||
background will be drawn behind any padding that the container has.
|
||||
Container elements (HBox and VBox) can optionally have `bgimg` and `bgimg_middle`
|
||||
parameters that specify a background for the container. The background will be
|
||||
drawn behind any padding that the container has.
|
||||
|
||||
Example:
|
||||
|
||||
@ -252,7 +252,8 @@ Example:
|
||||
gui.VBox{
|
||||
padding = 0.5,
|
||||
spacing = 0.1,
|
||||
bgcolor = "#888",
|
||||
|
||||
-- bgimg can be used without bgimg_middle
|
||||
bgimg = "air.png",
|
||||
bgimg_middle = 2,
|
||||
|
||||
@ -261,7 +262,7 @@ gui.VBox{
|
||||
}
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
The padding around the VBox is 0.5 and the spacing between the buttons inside
|
||||
it is 0.1.
|
||||
|
Loading…
Reference in New Issue
Block a user