diff --git a/Platformio/OmoteUI/UIs/BasicRefactored/page/DisplaySettings.cpp b/Platformio/OmoteUI/UIs/BasicRefactored/page/DisplaySettings.cpp index 8f10dd6..668abd4 100644 --- a/Platformio/OmoteUI/UIs/BasicRefactored/page/DisplaySettings.cpp +++ b/Platformio/OmoteUI/UIs/BasicRefactored/page/DisplaySettings.cpp @@ -9,7 +9,7 @@ DisplaySettings::DisplaySettings(std::shared_ptr aDisplay) SetBgColor(Color::GREY); mBrightnessSlider->SetWidth(GetContentWidth()); - mBrightnessSlider->SetHeight(50); + mBrightnessSlider->SetHeight(80); mBrightnessSlider->AlignTo(this, LV_ALIGN_TOP_MID); } diff --git a/Platformio/OmoteUI/UIs/BasicRefactored/widget/BrightnessSlider.cpp b/Platformio/OmoteUI/UIs/BasicRefactored/widget/BrightnessSlider.cpp index 72e9003..01670ca 100644 --- a/Platformio/OmoteUI/UIs/BasicRefactored/widget/BrightnessSlider.cpp +++ b/Platformio/OmoteUI/UIs/BasicRefactored/widget/BrightnessSlider.cpp @@ -4,30 +4,30 @@ using namespace UI::Widget; - -BrightnessSlider::BrightnessSlider(std::shared_ptr aDisplay): Base(ID::Widgets::BrightnessSlider), - mDisplay(aDisplay), - mSlider(AddElement(std::make_unique( - [this](auto aNewBrightness){ - mDisplay->setBrightness(aNewBrightness); - },0,255))), - mLabel(AddElement(std::make_unique