Skip to content

Commit 4987499

Browse files
author
Luc Dion
committed
UPdate documentation
1 parent 0b1aa9a commit 4987499

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ The following section explains how CSS/PinLayout margin rules are applied.
10021002

10031003
#### When and how horizontal margins are applied in PinLayout?
10041004

1005-
This table explains how and when **left and right margins** are applied depending on which view’s attribute has been pinned using PinLayout.
1005+
This table explains how and when **left and right margins** are applied depending on which view’s attribute has been pinned.
10061006

10071007
| View’s pinned attributes | Left Margin | Right Margin |
10081008
|--------------------------|:-------------------------------------:|:----------------------------------------------:|
@@ -1013,17 +1013,13 @@ This table explains how and when **left and right margins** are applied dependin
10131013
| **Left and Right** | Reduce the width to apply the left margin | Reduce the width to apply the right margin |
10141014
| **hCenter** | Move view right | Movie view left |
10151015

1016-
1017-
Luc Dion [7 minutes ago]
1018-
Salut @sdc, 15h plus tard mais bon :slightly_smiling_face:. Le seul problème avec ta ligne initiale est que tu appliques une marge top et bottom simultanément. La difficulté est lorsque qu’un centre est pinné, que veut dire une marge? Dans PinLayout je me suis inspiré encore une fois de CSS (même si CSS ne supporte pas ça), lorsque le vCenter à été pinné, une top margin pousse la view vers le bas, et une bottom margin pousse la view vers le haut. Donc dans ton cas ceci est la bonne solution:
1019-
10201016
NOTE: `-` indicates that the margin is not applied.
10211017

10221018
<br>
10231019

10241020
#### When and how does vertical margins are applied in PinLayout?
10251021

1026-
This table explains how and when **top and bottom margins** are applied depending on which view’s attribute has been pinned using PinLayout.
1022+
This table explains how and when **top and bottom margins** are applied depending on which view’s attribute has been pinned.
10271023

10281024
| View’s pinned attributes | Top Margin | Bottom Margin |
10291025
|--------------------------|:----------------------------------------:|:-------------------------------------------:|

0 commit comments

Comments
 (0)