From 656ec9c48f3ec420a252978e91b9d624fc99a908 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Mon, 29 Dec 2014 10:51:59 +0100 Subject: [PATCH] SinglestatPanel: added more fontsize options, Closes #1187 --- src/app/panels/singlestat/editor.html | 6 +++--- src/app/panels/singlestat/module.js | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/app/panels/singlestat/editor.html b/src/app/panels/singlestat/editor.html index 67df1405682..88fc438c39f 100644 --- a/src/app/panels/singlestat/editor.html +++ b/src/app/panels/singlestat/editor.html @@ -23,15 +23,15 @@
Big value font size
- +
- +
- +
diff --git a/src/app/panels/singlestat/module.js b/src/app/panels/singlestat/module.js index 69d758f0ee3..788db3c6229 100644 --- a/src/app/panels/singlestat/module.js +++ b/src/app/panels/singlestat/module.js @@ -22,6 +22,8 @@ function (angular, app, _, TimeSeries, kbn, PanelMeta) { metricsEditor: true }); + $scope.fontSizes = ['20%', '30%','50%','70%','80%','100%', '110%', '120%', '150%', '170%', '200%']; + $scope.panelMeta.addEditorTab('Options', 'app/panels/singlestat/editor.html'); // Set and populate defaults