Use more space
This commit is contained in:
@ -7,21 +7,21 @@
|
||||
|
||||
DriverViewFieldBase::DriverViewFieldBase()
|
||||
{
|
||||
setWidth(150);
|
||||
setWidth(152);
|
||||
setHeight(80);
|
||||
box.setPosition(0, 0, 150, 80);
|
||||
box.setPosition(0, 0, 152, 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, 150, 25);
|
||||
title.setPosition(0, 0, 152, 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, 150, 57);
|
||||
value.setPosition(0, 20, 152, 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(150);
|
||||
setWidth(152);
|
||||
setHeight(26);
|
||||
bg.setPosition(0, 0, 150, 25);
|
||||
bg.setPosition(0, 0, 152, 25);
|
||||
bg.setColor(touchgfx::Color::getColorFromRGB(34, 34, 34));
|
||||
add(bg);
|
||||
|
||||
name.setPosition(0, 0, 150, 25);
|
||||
name.setPosition(0, 0, 152, 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, 150, 1);
|
||||
line1.setPosition(0, 25, 152, 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(149, 0, 1, 26);
|
||||
line2_1.setPosition(151, 0, 1, 26);
|
||||
line2_1Painter.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
line2_1.setPainter(line2_1Painter);
|
||||
line2_1.setStart(0, 0);
|
||||
|
||||
@ -7,21 +7,21 @@
|
||||
|
||||
ErrorPopupBase::ErrorPopupBase()
|
||||
{
|
||||
setWidth(450);
|
||||
setWidth(456);
|
||||
setHeight(150);
|
||||
bg.setPosition(0, 0, 450, 150);
|
||||
bg.setPosition(0, 0, 456, 150);
|
||||
bg.setColor(touchgfx::Color::getColorFromRGB(197, 14, 31));
|
||||
bg.setBorderColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
bg.setBorderSize(5);
|
||||
add(bg);
|
||||
|
||||
title.setPosition(0, 0, 450, 49);
|
||||
title.setPosition(0, 0, 456, 49);
|
||||
title.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
title.setLinespacing(0);
|
||||
title.setTypedText(touchgfx::TypedText(T___SINGLEUSE_1NKF));
|
||||
add(title);
|
||||
|
||||
details.setPosition(15, 60, 420, 75);
|
||||
details.setPosition(17, 60, 426, 75);
|
||||
details.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
details.setLinespacing(0);
|
||||
details.setTypedText(touchgfx::TypedText(T___SINGLEUSE_9L8R));
|
||||
|
||||
Reference in New Issue
Block a user