~aleteoryx/muditaos

8439e6a488a1a2992080b9e261aabb9a66c904cc — Paweł Joński 4 years ago db37555
[BH-1254] Charging battery UI fix

Charging battery UI fix:
- bigger font
- center widget
M products/BellHybrid/apps/application-bell-main/widgets/BellBattery.hpp => products/BellHybrid/apps/application-bell-main/widgets/BellBattery.hpp +1 -1
@@ 16,7 16,7 @@ namespace gui
        constexpr auto battery_low        = "bell_battery_lvl1";
        constexpr auto battery_critical   = "bell_battery_empty";
        constexpr auto battery_charging   = "bell_battery_charging";
        constexpr auto font_small         = style::window::font::verybiglight;
        constexpr auto font_small         = style::window::font::largelight;
        constexpr auto image_h            = 64;
        constexpr auto image_w            = 64U;
        constexpr auto image_right_margin = 10U;

M products/BellHybrid/apps/application-bell-main/windows/BellHomeScreenWindow.cpp => products/BellHybrid/apps/application-bell-main/windows/BellHomeScreenWindow.cpp +1 -1
@@ 122,7 122,7 @@ namespace gui
        battery = new BellBattery(bottomBox, 0, 0, 0, 0);
        battery->setMinimumSize(battery::battery_widget_w, battery::battery_widget_h);
        battery->setEdges(RectangleEdge::None);
        battery->setAlignment(Alignment(Alignment::Horizontal::Left, Alignment::Vertical::Center));
        battery->setAlignment(Alignment(Alignment::Horizontal::Center, Alignment::Vertical::Center));
        battery->setVisible(false);

        bottomText = new TextFixedSize(bottomBox, 0, 0, 0, 0);