[checkmk-commits] 6851 FIX Reduced minimal dashlet height to the half

Lars Michelsen lm at mathias-kettner.de
Wed Nov 7 17:11:23 CET 2018


Module: check_mk
Branch: master
Commit: f466943b49fb9b25f854f8f1d19e574ff5d8af30
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f466943b49fb9b25f854f8f1d19e574ff5d8af30

Author: Lars Michelsen <lm at mathias-kettner.de>
Date:   Wed Nov  7 17:03:02 2018 +0100

6851 FIX Reduced minimal dashlet height to the half

To be able to create smaller "custom text" dashlets the minimal
dashlet height for all dashlet types has been reduced to the half
of the previous setting.

Change-Id: I14fe364f2bf02f1c3effabd82bf3951bb2aa479f

---

 .werks/6851                        | 13 +++++++++++++
 cmk/gui/plugins/dashboard/utils.py |  2 +-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/.werks/6851 b/.werks/6851
new file mode 100644
index 0000000..0403d39
--- /dev/null
+++ b/.werks/6851
@@ -0,0 +1,13 @@
+Title: Reduced minimal dashlet height to the half
+Level: 1
+Component: multisite
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.6.0i1
+Date: 1541577233
+
+To be able to create smaller "custom text" dashlets the minimal
+dashlet height for all dashlet types has been reduced to the half
+of the previous setting.
diff --git a/cmk/gui/plugins/dashboard/utils.py b/cmk/gui/plugins/dashboard/utils.py
index 7e8deea..39c766a 100644
--- a/cmk/gui/plugins/dashboard/utils.py
+++ b/cmk/gui/plugins/dashboard/utils.py
@@ -48,7 +48,7 @@ class Dashlet(object):
     __metaclass__ = abc.ABCMeta
 
     # Minimum width and height of dashlets in raster units
-    minimum_size = (10, 10)
+    minimum_size = (10, 5)
 
     @classmethod
     @abc.abstractmethod



More information about the checkmk-commits mailing list