qcenter: Add padding

master
Kedlub 2022-11-25 21:37:54 +01:00
parent fb0dcb82cd
commit e35f3a26bb
1 changed files with 3 additions and 2 deletions

View File

@ -81,9 +81,10 @@ var layoutContent = [
{
type: "h",
pad: 5,
fillx: 1,
c: [
{ type: "txt", font: "8x12", scale: 2, label: E.getBattery() + "%" },
{ type: "txt", font: "8x12", scale: 2, label: "GPS: " + (Bangle.isGPSOn() ? "ON" : "OFF") },
{ type: "txt", font: "8x12", pad: 3, scale: 2, label: E.getBattery() + "%" },
{ type: "txt", font: "8x12", pad: 3, scale: 2, label: "GPS: " + (Bangle.isGPSOn() ? "ON" : "OFF") },
],
},
];