Leave 15px free to the edges
This commit is contained in:
@ -14,7 +14,7 @@ DebugViewViewBase::DebugViewViewBase() :
|
||||
__background.setColor(touchgfx::Color::getColorFromRGB(0, 0, 0));
|
||||
add(__background);
|
||||
|
||||
list.setPosition(0, 4, 480, 312);
|
||||
list.setPosition(15, 15, 450, 290);
|
||||
list.setHorizontal(false);
|
||||
list.setCircular(true);
|
||||
list.setEasingEquation(touchgfx::EasingEquations::backEaseOut);
|
||||
@ -27,14 +27,32 @@ DebugViewViewBase::DebugViewViewBase() :
|
||||
list.setDrawables(listListItems, updateItemCallback);
|
||||
add(list);
|
||||
|
||||
line1.setPosition(0, 3, 480, 1);
|
||||
line1.setPosition(15, 15, 1, 290);
|
||||
line1Painter.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
line1.setPainter(line1Painter);
|
||||
line1.setStart(0, 0);
|
||||
line1.setEnd(480, 0);
|
||||
line1.setEnd(0, 290);
|
||||
line1.setLineWidth(10);
|
||||
line1.setLineEndingStyle(touchgfx::Line::ROUND_CAP_ENDING);
|
||||
add(line1);
|
||||
|
||||
line1_2.setPosition(465, 15, 1, 290);
|
||||
line1_2Painter.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
line1_2.setPainter(line1_2Painter);
|
||||
line1_2.setStart(0, 0);
|
||||
line1_2.setEnd(0, 290);
|
||||
line1_2.setLineWidth(10);
|
||||
line1_2.setLineEndingStyle(touchgfx::Line::ROUND_CAP_ENDING);
|
||||
add(line1_2);
|
||||
|
||||
line1_1.setPosition(15, 14, 450, 1);
|
||||
line1_1Painter.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
|
||||
line1_1.setPainter(line1_1Painter);
|
||||
line1_1.setStart(0, 0);
|
||||
line1_1.setEnd(480, 0);
|
||||
line1_1.setLineWidth(10);
|
||||
line1_1.setLineEndingStyle(touchgfx::Line::ROUND_CAP_ENDING);
|
||||
add(line1_1);
|
||||
}
|
||||
|
||||
DebugViewViewBase::~DebugViewViewBase()
|
||||
|
||||
Reference in New Issue
Block a user