~aleteoryx/muditaos

885200fe504009adc149bbf7a95de31b2f03544b — Tigran Soghbatyan 4 years ago 4f08bfc
[BH-981] Fix "Alarm Deactivated" text alignment

Make "Alarm Deactivated" string vertically centered in a UI box
M image/assets/lang/English.json => image/assets/lang/English.json +1 -1
@@ 625,7 625,7 @@
  "app_bellmain_home_screen_bottom_desc": "Next alarm will ring",
  "app_bellmain_home_screen_bottom_desc_in": "in",
  "app_bellmain_home_screen_bottom_desc_dp": "Deep press to activate",
  "app_bell_alarm_deactivated": "<text>Alarm deactivated<br /></text>",
  "app_bell_alarm_deactivated": "<text>Alarm deactivated</text>",
  "app_bell_alarm_set_not_active": "<text>Alarm set.<br />Deep press to activate.</text>",
  "app_bell_settings_advanced_frontlight": "Frontlight",
  "app_bell_settings_frontlight_top_message": "Frontlight intensity",

M products/BellHybrid/apps/application-bell-main/windows/BellHomeScreenWindow.cpp => products/BellHybrid/apps/application-bell-main/windows/BellHomeScreenWindow.cpp +1 -1
@@ 169,7 169,7 @@ namespace gui
    {
        battery->setVisible(false);
        bottomBox->resizeItems();
        bottomText->setAlignment(Alignment(Alignment::Horizontal::Center, Alignment::Vertical::Top));
        bottomText->setAlignment(Alignment(Alignment::Horizontal::Center, Alignment::Vertical::Center));
        bottomText->setFont(bellMainStyle::mainWindow::bottomDescription::font_small);
        bottomText->setRichText(desc);
    }