remove space
This commit is contained in:
parent
400a51f0b5
commit
bbb1901be4
@ -44,7 +44,7 @@ public class MoleculeStackView: ViewConstrainingView {
|
|||||||
var axis: NSLayoutConstraint.Axis = .vertical {
|
var axis: NSLayoutConstraint.Axis = .vertical {
|
||||||
didSet {
|
didSet {
|
||||||
updateViewHorizontalDefaults = axis == .horizontal
|
updateViewHorizontalDefaults = axis == .horizontal
|
||||||
if axis != oldValue {
|
if axis != oldValue {
|
||||||
restack()
|
restack()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
108
MVMCoreUI/Styles/usage.json
Normal file
108
MVMCoreUI/Styles/usage.json
Normal file
@ -0,0 +1,108 @@
|
|||||||
|
{
|
||||||
|
"pageType": "usage",
|
||||||
|
"template": "moleculeList",
|
||||||
|
"header": {
|
||||||
|
"moleculeName":"header",
|
||||||
|
"headline":{
|
||||||
|
"moleculeName": "label",
|
||||||
|
"text":"See who's using what."
|
||||||
|
},
|
||||||
|
"body":{
|
||||||
|
"moleculeName": "label",
|
||||||
|
"text":"Data usage was estimated as of Jun 11."
|
||||||
|
},
|
||||||
|
"molecules": [{
|
||||||
|
"moleculeName": "listItem",
|
||||||
|
"molecule" : {
|
||||||
|
"moleculeName":"moleculeStack",
|
||||||
|
"axis": "horizontal",
|
||||||
|
"molecules": [{
|
||||||
|
"percent": 60,
|
||||||
|
"molecule": {
|
||||||
|
"moleculeName": "label",
|
||||||
|
"text": "Johny Verizon\n555.555.5555\nGo Unlimited",
|
||||||
|
"attributes": [{
|
||||||
|
"location": 0,
|
||||||
|
"length": 13,
|
||||||
|
"type": "font",
|
||||||
|
"style": "B1"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
},{
|
||||||
|
"horizontalAlignment": "trailing",
|
||||||
|
"molecule": {
|
||||||
|
"moleculeName": "label",
|
||||||
|
"text": "4.55 GB"
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"actionMap":{
|
||||||
|
"actionType": "openPage",
|
||||||
|
"pageType": "usageDetails",
|
||||||
|
"extraParameters": {
|
||||||
|
"mdn": "5555555555"
|
||||||
|
}
|
||||||
|
}},{
|
||||||
|
"moleculeName": "listItem",
|
||||||
|
"molecule" : {
|
||||||
|
"moleculeName":"moleculeStack",
|
||||||
|
"axis": "horizontal",
|
||||||
|
"molecules": [{
|
||||||
|
"percent": 60,
|
||||||
|
"molecule": {
|
||||||
|
"moleculeName": "label",
|
||||||
|
"text": "Sree Verizon\n555.555.5556",
|
||||||
|
"attributes": [{
|
||||||
|
"location": 0,
|
||||||
|
"length": 12,
|
||||||
|
"type": "font",
|
||||||
|
"style": "B1"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
},{
|
||||||
|
"horizontalAlignment": "trailing",
|
||||||
|
"molecule": {
|
||||||
|
"moleculeName": "label",
|
||||||
|
"text": "0 GB"
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"actionMap":{
|
||||||
|
"actionType": "openPage",
|
||||||
|
"pageType": "usageDetails",
|
||||||
|
"extraParameters": {
|
||||||
|
"mdn": "5555555556"
|
||||||
|
}
|
||||||
|
}},{
|
||||||
|
"moleculeName": "listItem",
|
||||||
|
"molecule" : {
|
||||||
|
"moleculeName":"moleculeStack",
|
||||||
|
"axis": "horizontal",
|
||||||
|
"molecules": [{
|
||||||
|
"percent": 60,
|
||||||
|
"molecule": {
|
||||||
|
"moleculeName": "label",
|
||||||
|
"text": "Vishal Verizon\n555.555.5557\nGo Unlimited",
|
||||||
|
"attributes": [{
|
||||||
|
"location": 0,
|
||||||
|
"length": 14,
|
||||||
|
"type": "font",
|
||||||
|
"style": "B1"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
},{
|
||||||
|
"horizontalAlignment": "trailing",
|
||||||
|
"molecule": {
|
||||||
|
"moleculeName": "label",
|
||||||
|
"text": "0 GB"
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"actionMap":{
|
||||||
|
"actionType": "openPage",
|
||||||
|
"pageType": "usageDetails",
|
||||||
|
"extraParameters": {
|
||||||
|
"mdn": "5555555557"
|
||||||
|
}
|
||||||
|
}}]
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user