Leave 15px free to the edges
This commit is contained in:
@ -7,15 +7,15 @@
|
||||
|
||||
DebugViewItemBase::DebugViewItemBase()
|
||||
{
|
||||
setWidth(240);
|
||||
setWidth(225);
|
||||
setHeight(26);
|
||||
label.setPosition(5, 0, 105, 25);
|
||||
label.setPosition(2, 0, 111, 25);
|
||||
label.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
label.setLinespacing(0);
|
||||
label.setTypedText(touchgfx::TypedText(T_DEBUGVIEWFIELD_TITLE));
|
||||
add(label);
|
||||
|
||||
value.setPosition(110, 0, 125, 25);
|
||||
value.setPosition(113, 0, 110, 25);
|
||||
value.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
value.setLinespacing(0);
|
||||
value.setTypedText(touchgfx::TypedText(T_DEFAULTWILDCARD_RIGHTALIGNED));
|
||||
|
||||
@ -6,13 +6,13 @@
|
||||
|
||||
DebugViewLineBase::DebugViewLineBase()
|
||||
{
|
||||
setWidth(480);
|
||||
setWidth(450);
|
||||
setHeight(26);
|
||||
bg.setPosition(0, 0, 480, 26);
|
||||
bg.setPosition(0, 0, 450, 26);
|
||||
bg.setColor(touchgfx::Color::getColorFromRGB(0, 0, 0));
|
||||
add(bg);
|
||||
|
||||
line1.setPosition(240, 0, 1, 26);
|
||||
line1.setPosition(225, 0, 1, 26);
|
||||
line1Painter.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
line1.setPainter(line1Painter);
|
||||
line1.setStart(0, 0);
|
||||
@ -21,7 +21,7 @@ DebugViewLineBase::DebugViewLineBase()
|
||||
line1.setLineEndingStyle(touchgfx::Line::ROUND_CAP_ENDING);
|
||||
add(line1);
|
||||
|
||||
line2.setPosition(0, 25, 480, 1);
|
||||
line2.setPosition(0, 25, 450, 1);
|
||||
line2Painter.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
line2.setPainter(line2Painter);
|
||||
line2.setStart(0, 0);
|
||||
@ -33,7 +33,7 @@ DebugViewLineBase::DebugViewLineBase()
|
||||
item1.setXY(0, 0);
|
||||
add(item1);
|
||||
|
||||
item2.setXY(240, 0);
|
||||
item2.setXY(225, 0);
|
||||
add(item2);
|
||||
}
|
||||
|
||||
|
||||
@ -7,21 +7,21 @@
|
||||
|
||||
DriverViewFieldBase::DriverViewFieldBase()
|
||||
{
|
||||
setWidth(160);
|
||||
setWidth(150);
|
||||
setHeight(80);
|
||||
box.setPosition(0, 0, 160, 80);
|
||||
box.setPosition(0, 0, 150, 80);
|
||||
box.setColor(touchgfx::Color::getColorFromRGB(0, 0, 0));
|
||||
box.setBorderColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
box.setBorderSize(3);
|
||||
add(box);
|
||||
|
||||
title.setPosition(0, 0, 160, 25);
|
||||
title.setPosition(0, 0, 150, 25);
|
||||
title.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
title.setLinespacing(0);
|
||||
title.setTypedText(touchgfx::TypedText(T_DRIVERVIEWFIELD_TITLE));
|
||||
add(title);
|
||||
|
||||
value.setPosition(0, 20, 160, 57);
|
||||
value.setPosition(0, 20, 150, 57);
|
||||
value.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
value.setLinespacing(0);
|
||||
value.setTypedText(touchgfx::TypedText(T_NUMBERWILDCARD));
|
||||
|
||||
@ -7,19 +7,19 @@
|
||||
|
||||
DriverViewFieldSelectionBase::DriverViewFieldSelectionBase()
|
||||
{
|
||||
setWidth(160);
|
||||
setWidth(150);
|
||||
setHeight(26);
|
||||
bg.setPosition(0, 0, 160, 25);
|
||||
bg.setPosition(0, 0, 150, 25);
|
||||
bg.setColor(touchgfx::Color::getColorFromRGB(34, 34, 34));
|
||||
add(bg);
|
||||
|
||||
name.setPosition(0, 0, 160, 25);
|
||||
name.setPosition(0, 0, 150, 25);
|
||||
name.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
name.setLinespacing(0);
|
||||
name.setTypedText(touchgfx::TypedText(T_DRIVERVIEWFIELD_TITLE));
|
||||
add(name);
|
||||
|
||||
line1.setPosition(0, 25, 160, 1);
|
||||
line1.setPosition(0, 25, 150, 1);
|
||||
line1Painter.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
line1.setPainter(line1Painter);
|
||||
line1.setStart(0, 0);
|
||||
@ -37,7 +37,7 @@ DriverViewFieldSelectionBase::DriverViewFieldSelectionBase()
|
||||
line2.setLineEndingStyle(touchgfx::Line::ROUND_CAP_ENDING);
|
||||
add(line2);
|
||||
|
||||
line2_1.setPosition(159, 0, 1, 26);
|
||||
line2_1.setPosition(149, 0, 1, 26);
|
||||
line2_1Painter.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
line2_1.setPainter(line2_1Painter);
|
||||
line2_1.setStart(0, 0);
|
||||
|
||||
Reference in New Issue
Block a user