tabs -> whitespaces
This commit is contained in:
parent
e0cf43d8e1
commit
7007d37e9b
@ -4,44 +4,44 @@ import Test 1.0
|
|||||||
|
|
||||||
GridBox
|
GridBox
|
||||||
{
|
{
|
||||||
margins: 10
|
margins: 10
|
||||||
autoFillBackground : true
|
autoFillBackground : true
|
||||||
|
|
||||||
background
|
background
|
||||||
{
|
{
|
||||||
stops: [
|
stops: [
|
||||||
{ position: 0.0, color: "White" },
|
{ position: 0.0, color: "White" },
|
||||||
{ position: 1.0, color: "White" },
|
{ position: 1.0, color: "White" },
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
TestRectangle
|
TestRectangle
|
||||||
{
|
{
|
||||||
id: paleVioletRed
|
id: paleVioletRed
|
||||||
color: "PaleVioletRed"
|
color: "PaleVioletRed"
|
||||||
}
|
}
|
||||||
|
|
||||||
TestRectangle
|
TestRectangle
|
||||||
{
|
{
|
||||||
id: darkSeaGreen
|
id: darkSeaGreen
|
||||||
color: "DarkSeaGreen"
|
color: "DarkSeaGreen"
|
||||||
}
|
}
|
||||||
|
|
||||||
TestRectangle
|
TestRectangle
|
||||||
{
|
{
|
||||||
id: skyBlue
|
id: skyBlue
|
||||||
color: "SkyBlue"
|
color: "SkyBlue"
|
||||||
}
|
}
|
||||||
|
|
||||||
TestRectangle
|
TestRectangle
|
||||||
{
|
{
|
||||||
id: navajoWhite
|
id: navajoWhite
|
||||||
color: "NavajoWhite"
|
color: "NavajoWhite"
|
||||||
}
|
}
|
||||||
|
|
||||||
Component.onCompleted:
|
Component.onCompleted:
|
||||||
{
|
{
|
||||||
addItem( paleVioletRed, 0, 0, 1, 2 );
|
addItem( paleVioletRed, 0, 0, 1, 2 );
|
||||||
addItem( darkSeaGreen, 1, 0, 2, 1 );
|
addItem( darkSeaGreen, 1, 0, 2, 1 );
|
||||||
addItem( skyBlue, 2, 1, 1, 1 );
|
addItem( skyBlue, 2, 1, 1, 1 );
|
||||||
addItem( navajoWhite, 0, 2, -1, 1 );
|
addItem( navajoWhite, 0, 2, -1, 1 );
|
||||||
@ -49,6 +49,6 @@ GridBox
|
|||||||
setRowStretchFactor( 0, 1 );
|
setRowStretchFactor( 0, 1 );
|
||||||
setRowStretchFactor( 1, 2 );
|
setRowStretchFactor( 1, 2 );
|
||||||
setRowStretchFactor( 2, 1 );
|
setRowStretchFactor( 2, 1 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user