~aleteoryx/muditaos

f400bda4efd936b675228abead2a0e392919c45f — Tigran Soghbatyan 4 years ago 706a25d
[BH-1218] Fix ui font size

Set BellSideListItem font size according to the design
M module-apps/apps-common/widgets/BellSideListItem.cpp => module-apps/apps-common/widgets/BellSideListItem.cpp +1 -1
@@ 16,7 16,7 @@ namespace gui

        auto topMessage = new TextFixedSize(body->firstBox);
        topMessage->setMaximumSize(style::bell_base_layout::w, style::bell_base_layout::outer_layouts_h);
        topMessage->setFont(style::bell_sidelist_item::description_font);
        topMessage->setFont(style::bell_sidelist_item::title_font);
        topMessage->setEdges(gui::RectangleEdge::None);
        topMessage->activeItem = false;
        topMessage->setAlignment(Alignment(gui::Alignment::Horizontal::Center, gui::Alignment::Vertical::Center));

M module-apps/apps-common/widgets/BellSideListItem.hpp => module-apps/apps-common/widgets/BellSideListItem.hpp +3 -1
@@ 8,7 8,9 @@

namespace style::bell_sidelist_item
{
    inline constexpr auto description_font = style::window::font::largelight;
    inline constexpr auto title_font       = style::window::font::largelight;
    inline constexpr auto description_font = style::window::font::verybiglight;

} // namespace style::bell_sidelist_item

namespace gui