I have two different font-sized texts in EDC, and I want them to be baseline-aligned:
This is the source generating this:
text { "elm.text";
scale: 1;
desc { "default";
color: 255 0 0 255;
text {
text: "0.2";
size: 32;
ellipsis: -1;
min: 1 1;
max: 1 1;
align: 1 1;
}
}
}
text { "elm.text.unit";
scale: 1;
desc { "default";
color: 255 0 0 255;
rel1 {
to: "elm.text";
relative: 1 0;
}
rel2 {
to_y: "elm.text";
relative: 1 1;
}
text {
text: "amps";
size: 16;
align: 0 1;
}
}
}
So, goal is something like this:
How can I do this with EDC?