@@ -7,7 +7,7 @@ class GuiSecondary : public tsl::Gui {
7
7
GuiSecondary () {}
8
8
9
9
virtual tsl::elm::Element* createUI () override {
10
- auto *rootFrame = new tsl::elm::OverlayFrame (" Tesla Example" , " v1.3.1 - Secondary Gui" );
10
+ auto *rootFrame = new tsl::elm::OverlayFrame (" Tesla Example" , " v1.3.2 - Secondary Gui" );
11
11
12
12
rootFrame->setContent (new tsl::elm::DebugRectangle (tsl::gfx::Color{ 0x8 , 0x3 , 0x8 , 0xF }));
13
13
@@ -24,7 +24,7 @@ class GuiTest : public tsl::Gui {
24
24
virtual tsl::elm::Element* createUI () override {
25
25
// A OverlayFrame is the base element every overlay consists of. This will draw the default Title and Subtitle.
26
26
// If you need more information in the header or want to change it's look, use a HeaderOverlayFrame.
27
- auto frame = new tsl::elm::OverlayFrame (" Tesla Example" , " v1.3.0 " );
27
+ auto frame = new tsl::elm::OverlayFrame (" Tesla Example" , " v1.3.2 " );
28
28
29
29
// A list that can contain sub elements and handles scrolling
30
30
auto list = new tsl::elm::List ();
@@ -44,6 +44,7 @@ class GuiTest : public tsl::Gui {
44
44
45
45
list->addItem (clickableListItem);
46
46
list->addItem (new tsl::elm::ListItem (" Default List Item" ));
47
+ list->addItem (new tsl::elm::ListItem (" Default List Item with an extra long name to trigger truncation and scrolling" ));
47
48
list->addItem (new tsl::elm::ToggleListItem (" Toggle List Item" , true ));
48
49
49
50
// Custom Drawer, a element that gives direct access to the renderer
0 commit comments