From 47db327752bfc667929ccd34dd7daa3b8914342c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Tue, 20 Sep 2016 17:31:30 +0200 Subject: [PATCH] [escher] add metric constants Change-Id: I5a46afe6e97dde3ee480507ba576373a645bc254 --- escher/include/escher/metric.h | 3 ++- escher/src/metric.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/escher/include/escher/metric.h b/escher/include/escher/metric.h index e309ac1f7..edae885b7 100644 --- a/escher/include/escher/metric.h +++ b/escher/include/escher/metric.h @@ -6,7 +6,8 @@ class Metric { public: constexpr static KDCoordinate VerticalMargin = 20; - constexpr static KDCoordinate MarginLabel = 5; + constexpr static KDCoordinate HorizontalMargin = 10; + constexpr static KDCoordinate LabelMargin = 5; }; #endif \ No newline at end of file diff --git a/escher/src/metric.cpp b/escher/src/metric.cpp index 04c339561..7482b5201 100644 --- a/escher/src/metric.cpp +++ b/escher/src/metric.cpp @@ -1,4 +1,5 @@ #include constexpr KDCoordinate Metric::VerticalMargin; -constexpr KDCoordinate Metric::MarginLabel; +constexpr KDCoordinate Metric::HorizontalMargin; +constexpr KDCoordinate Metric::LabelMargin;