Files
MuditaOS/module-apps/application-desktop/data/Style.hpp
Maciej Janicki 976d75952f [EGD-5250] Change time format on home screen and status bar
This commit changes time format displayed on home screen 
and on status bar by adding new locale for 12H format, 
which excludes am/pm suffix.
The new locale is set as new default format for time string.

Minor: Grammar typo fixed.
2021-01-20 09:36:11 +01:00

41 lines
1005 B
C++

// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#pragma once
namespace style::desktop
{
namespace notifications
{
constexpr auto SpanSize = 8;
constexpr auto DigitSize = 16;
constexpr auto IconWidth = 35;
constexpr auto TextMaxWidth = 250;
constexpr auto X = 0;
constexpr auto Y = 284;
constexpr auto Width = style::window_width;
}; // namespace notifications
namespace timeLabel
{
constexpr auto X = 0;
constexpr auto Y = 106;
constexpr auto Width = style::window_width;
constexpr auto Height = 96;
} // namespace timeLabel
namespace dayLabel
{
constexpr auto X = 0;
constexpr auto Y = 204;
constexpr auto Width = style::window_width;
constexpr auto Height = 51;
} // namespace dayLabel
} // namespace style::desktop