[EGD-8035] Fixed looped lists and applied to all Pure lists

Fixed looped lists bugs and applied to all Pure lists.
This commit is contained in:
Przemyslaw Brudny
2022-01-14 14:00:46 +01:00
committed by Przemysław Brudny
parent 8141bba67a
commit 19d6468e30
16 changed files with 78 additions and 31 deletions

View File

@@ -1,4 +1,4 @@
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#include "NoteMainWindow.hpp"
@@ -61,6 +61,7 @@ namespace app::notes
listStyle::Height,
presenter->getNotesItemProvider(),
gui::listview::ScrollBarType::Fixed);
list->setBoundaries(gui::Boundaries::Continuous);
list->setPenWidth(listStyle::PenWidth);
list->setPenFocusWidth(listStyle::FocusedPenWidth);
list->focusChangedCallback = [this]([[maybe_unused]] gui::Item &item) {