File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 11
11
- Nice introduction https://github.com/stevestreza/Relayout
12
12
13
13
- Add a doc example using width(40%).height(100%)
14
+ - Add also an example using view.pin.top(25%).hCenter(0)
14
15
15
16
- Add an image showing hCenter and vCenter (see http://doc.qt.io/qt-5/qtquick-positioning-anchors.html)
16
17
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ The value specifies the vertical center distance from the superview's top edge i
127
127
128
128
```
129
129
view.pin.top(20).left(20)
130
- view.pin.left(0).right (0)
130
+ view.pin.top(25%).hCenter (0)
131
131
view.pin.left(12).vCenter(100)
132
132
```
133
133
@@ -169,6 +169,7 @@ Position the view vertical center directly on its superview vertical center. Sim
169
169
``` javascript
170
170
view .pin .top ().left ()
171
171
view .pin .bottom ().right ()
172
+ view .pin .hCenter ().vCenter ()
172
173
```
173
174
174
175
###### Example:
You can’t perform that action at this time.
0 commit comments