From b5c671257845594f088232ce0ff2e09ad0b23b48 Mon Sep 17 00:00:00 2001 From: Gerrit Date: Thu, 6 Jul 2023 13:46:04 +0200 Subject: [PATCH] Add top and bottom padding for pie charts in dashboard. (#239) --- cmd/dashboard.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmd/dashboard.go b/cmd/dashboard.go index 295d1ec8..a504128e 100644 --- a/cmd/dashboard.go +++ b/cmd/dashboard.go @@ -605,11 +605,15 @@ func NewDashboardClusterVersionsPane(cache *apiCache, eventChannel chan ui.Event d.reconciledGardenerVersions = widgets.NewPieChart() d.reconciledGardenerVersions.Title = "Reconciled Gardener Versions" - d.reconciledGardenerVersions.PaddingLeft = 5 + d.reconciledGardenerVersions.PaddingTop = 1 + d.reconciledGardenerVersions.PaddingBottom = 1 + d.reconciledGardenerVersions.PaddingRight = 5 d.reconciledGardenerVersions.PaddingRight = 5 d.firewallControllerVersions = widgets.NewPieChart() d.firewallControllerVersions.Title = "Firewall-Controller Versions" + d.firewallControllerVersions.PaddingTop = 1 + d.firewallControllerVersions.PaddingBottom = 1 d.firewallControllerVersions.PaddingLeft = 5 d.firewallControllerVersions.PaddingRight = 5