Files
MuditaOS/module-apps/application-notes/style/NotePreviewStyle.hpp
Lefucjusz 773f2c7eb1 [BH-2069] Update license URL in headers
Update outdated license file URL in
license headers across all project.
2024-09-18 11:53:01 +02:00

25 lines
952 B
C++

// Copyright (c) 2017-2024, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/blob/master/LICENSE.md
#pragma once
#include <module-gui/gui/widgets/Style.hpp>
namespace app::notes::style::preview
{
constexpr inline auto LeftMargin = ::style::window::default_left_margin;
constexpr inline auto TopMargin = ::style::window::default_vertical_pos + ::style::margins::very_big - 1;
constexpr inline auto Width = ::style::window::default_body_width;
constexpr inline auto Height = ::style::window::default_body_height - ::style::margins::very_big;
namespace date
{
constexpr inline auto Height = 30;
} // namespace date
namespace text
{
constexpr inline auto TopMargin = 7;
constexpr inline auto Height = ::app::notes::style::preview::Height - date::Height - TopMargin;
} // namespace text
} // namespace app::notes::style::preview