BracketGroup
FormatProperties
.
Bracket
Place brackets around the the items in the container.
Example 1
Example
=
HBox
{
Separator
:
CommaSpace
;
Bracket
:
Brackets
.
Square
;
1
over
2; 2
over
3; 3
over
4;
};
[
1
2
,
2
3
,
3
4
]
Example 2
ExampleBlock2
=
Block
{
Table
(
null
,
null
, [1.5", 1", 1"]) {
Row
{
Background
:
NytrilPalette
.
TableTitleBack
;
TextColor
:
NytrilPalette
.
TableTitleFore
;
"Type"
;
"Left-Right"
;
"Top Bottom"
;
};
foreach
(
var
bracket
in
attribute
Brackets
) {
Row
{
VAlign
:
Center
;
if
(
each0
mod
2
==
1)
Background
:
NytrilPalette
.
ListOdd
;
bracket
.
Name;
HBox
{
Bracket
:
bracket
.
Value
.
LeftRight;
"Text"
;
};
VBox
{
Bracket
:
bracket
.
Value
.
TopBottom;
"Long Text"
;
};
}
}
}
};
Type
Left-Right
Top Bottom
None
Text
Long Text
Angle
⟨
Text
⟩
Long Text
Bar
|
Text
|
Long Text
Curly
{
Text
}
Long Text
FlatCurly
{
Text
}
Long Text
CurvedAngle
⧼
Text
⧽
Long Text
Round
(
Text
)
Long Text
FlatRound
(
Text
)
Long Text
Square
[
Text
]
Long Text
Tortoise
❲
Text
❳
Long Text
DoubleAngle
⟪
Text
⟫
Long Text
DoubleBar
‖
Text
‖
Long Text
DoubleRound
Text
Long Text
DoubleSquare
⟦
Text
⟧
Long Text
DoubleTortoise
⟬
Text
⟭
Long Text
RightArrow
Text
Long Text
LeftArrow
Text
Long Text
RightHarp
Text
Long Text
LeftHarp
Text
Long Text