Quellcode durchsuchen

update `readme.md`

Ethosa vor 3 Jahren
Ursprung
Commit
42d3cbff2a
2 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 2 0
      README.md
  2. 1 1
      examples/hello_world/main.nim

+ 2 - 0
README.md

@@ -90,6 +90,7 @@ This section contains links to documentation for all nodes.
 |[Scene loader][]|                     |[CheckBox][]          |                    |                    |                    |
 |                |                     |[ToolTip][]           |                    |                    |                    |
 |                |                     |[Chart][]             |                    |                    |                    |
+|                |                     |[TreeView][]          |                    |                    |                    |
 
 
 ## Debug mode
@@ -196,6 +197,7 @@ Also use [`niminst`](https://github.com/nim-lang/niminst) tool for generate an i
 [CheckBox]:https://ethosa.github.io/nodesnim/nodesnim/nodescontrol/checkbox.html
 [ToolTip]:https://ethosa.github.io/nodesnim/nodesnim/nodescontrol/tooltip.html
 [Chart]:https://ethosa.github.io/nodesnim/nodesnim/nodescontrol/chart.html
+[TreeView]:https://ethosa.github.io/nodesnim/nodesnim/nodescontrol/treeview.html
 
 [Node2D]:https://ethosa.github.io/nodesnim/nodesnim/nodes2d/node2d.html
 [Sprite]:https://ethosa.github.io/nodesnim/nodesnim/nodes2d/sprite.html

+ 1 - 1
examples/hello_world/main.nim

@@ -8,7 +8,7 @@ build:
     - Label hello:
       call:
         setSizeAnchor(1, 1)
-        setTextAlign(0.5, 0.5, 0.5, 0.5)
+        setTextAlign(CENTER_ANCHOR)
         setText("Hello, world!")
         setBackgroundColor(Color(31, 45, 62))