Files
MuditaOS/module-apps/application-notes/style/NoteEditStyle.hpp
Piotr Tanski c8c4f82080 [EGD-4487] Application notes implemented. (#1094)
* [EGD-4487] Implementation of notes application.
2020-11-30 13:48:05 +01:00

26 lines
927 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
#include <module-gui/gui/widgets/Style.hpp>
namespace app::notes::style::edit
{
constexpr inline auto LeftMargin = ::style::window::default_left_margin;
constexpr inline auto TopMargin = ::style::header::height + ::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 counter
{
constexpr inline auto Height = 30;
} // namespace counter
namespace text
{
constexpr inline auto TopMargin = 6;
constexpr inline auto Height = ::app::notes::style::edit::Height - counter::Height - TopMargin;
} // namespace text
} // namespace app::notes::style::edit