How do I get all the background to be set for the same background color?
Ignition 8.1.0
I have spent hours on this.
I set every single container to have style background color.
Is there a brute force way to make sure all the background is not white?
*updated code
this code has a different issue, where the top bar does not stay it’s color across the width.
However the background is at least not white.
Here is a sample code of my testing.
[
{
"type": "ia.container.flex",
"version": 0,
"props": {
"direction": "column",
"style": {
"overflow": "visible",
"backgroundColor": "#205287"
}
},
"meta": {
"name": "root"
},
"position": {},
"custom": {},
"children": [
{
"type": "ia.container.flex",
"version": 0,
"props": {
"wrap": "wrap",
"style": {
"overflow": "visible",
"backgroundColor": "#4C78DB"
}
},
"meta": {
"name": "header80"
},
"position": {
"shrink": 0,
"basis": "34px"
},
"custom": {}
},
{
"type": "ia.container.flex",
"version": 0,
"props": {
"style": {
"overflow": "visible",
"backgroundColor": "#205287"
}
},
"meta": {
"name": "bodyrow840"
},
"position": {
"shrink": 0,
"basis": "800px"
},
"custom": {},
"children": [
{
"type": "ia.container.flex",
"version": 0,
"props": {
"style": {
"overflow": "visible",
"backgroundColor": "#808080"
}
},
"meta": {
"name": "leftnav"
},
"position": {
"shrink": 0,
"basis": "600px"
},
"custom": {}
},
{
"type": "ia.container.flex",
"version": 0,
"props": {
"direction": "column",
"style": {
"backgroundColor": "#205287"
}
},
"meta": {
"name": "rightcontentcolumn1502scroll"
},
"position": {
"shrink": 0,
"basis": "6000px"
},
"custom": {},
"children": [
{
"type": "ia.container.flex",
"version": 0,
"props": {
"direction": "column",
"style": {
"overflow": "visible"
}
},
"meta": {
"name": "outerrightcontentcolumn906visible"
},
"position": {
"shrink": 0,
"basis": "906px"
},
"custom": {},
"children": [
{
"type": "ia.container.flex",
"version": 0,
"props": {
"style": {
"overflow": "visible"
}
},
"meta": {
"name": "rightcontentrow906visible"
},
"position": {
"shrink": 0,
"basis": "906px"
},
"custom": {},
"children": [
{
"type": "ia.container.flex",
"version": 0,
"props": {
"direction": "column",
"style": {
"overflow": "visible"
}
},
"meta": {
"name": "colomnone200vis"
},
"position": {
"shrink": 0,
"basis": "200px"
},
"custom": {}
},
{
"type": "ia.container.flex",
"version": 0,
"props": {
"direction": "column",
"style": {
"backgroundColor": "#E1E63C"
}
},
"meta": {
"name": "colomtwo200vis"
},
"position": {
"shrink": 0,
"basis": "200px"
},
"custom": {},
"children": [
{
"type": "ia.display.label",
"version": 0,
"props": {
"text": "Label"
},
"meta": {
"name": "Label"
},
"position": {
"shrink": 0,
"basis": "32px"
},
"custom": {}
}
]
},
{
"type": "ia.container.flex",
"version": 0,
"props": {
"direction": "column"
},
"meta": {
"name": "colomnthree200vis"
},
"position": {
"shrink": 0,
"basis": "200px"
},
"custom": {}
}
]
},
{
"type": "ia.container.flex",
"version": 0,
"props": {
"style": {
"overflow": "visible"
}
},
"meta": {
"name": "rightcontentrow906visible_0"
},
"position": {
"shrink": 0,
"basis": "906px"
},
"custom": {},
"children": [
{
"type": "ia.container.flex",
"version": 0,
"props": {
"direction": "column",
"style": {
"overflow": "visible"
}
},
"meta": {
"name": "colomnone200vis"
},
"position": {
"shrink": 0,
"basis": "200px"
},
"custom": {}
},
{
"type": "ia.container.flex",
"version": 0,
"props": {
"direction": "column",
"style": {
"backgroundColor": "#1FDA54"
}
},
"meta": {
"name": "colomtwo200vis"
},
"position": {
"shrink": 0,
"basis": "200px"
},
"custom": {},
"children": [
{
"type": "ia.display.label",
"version": 0,
"props": {
"text": "Label"
},
"meta": {
"name": "Label"
},
"position": {
"shrink": 0,
"basis": "32px"
},
"custom": {}
}
]
},
{
"type": "ia.container.flex",
"version": 0,
"props": {
"direction": "column"
},
"meta": {
"name": "colomnthree200vis"
},
"position": {
"shrink": 0,
"basis": "200px"
},
"custom": {}
}
]
},
{
"type": "ia.container.flex",
"version": 0,
"props": {
"style": {
"overflow": "visible"
}
},
"meta": {
"name": "rightcontentrow906visible_1"
},
"position": {
"shrink": 0,
"basis": "906px"
},
"custom": {},
"children": [
{
"type": "ia.container.flex",
"version": 0,
"props": {
"direction": "column",
"style": {
"overflow": "visible"
}
},
"meta": {
"name": "colomnone200vis"
},
"position": {
"shrink": 0,
"basis": "200px"
},
"custom": {}
},
{
"type": "ia.container.flex",
"version": 0,
"props": {
"direction": "column"
},
"meta": {
"name": "colomtwo200vis"
},
"position": {
"basis": "200px"
},
"custom": {}
},
{
"type": "ia.container.flex",
"version": 0,
"props": {
"direction": "column",
"style": {
"overflow": "visible",
"backgroundColor": "#E91B50"
}
},
"meta": {
"name": "colomnthree200vis"
},
"position": {
"shrink": 0,
"basis": "200px"
},
"custom": {},
"children": [
{
"type": "ia.display.label",
"version": 0,
"props": {
"text": "Label"
},
"meta": {
"name": "Label"
},
"position": {
"shrink": 0,
"basis": "32px"
},
"custom": {}
}
]
}
]
}
]
}
]
}
]
}
]
}
]
When I scroll to the right, I get this white space both at the top and the bottom on this test.
Though on another test, I actually go the top to be a color the whole way, not sure why or how.