Skip to content

Commit

Permalink
Add top and bottom padding for pie charts in dashboard. (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 authored Jul 6, 2023
1 parent 77bc7d1 commit b5c6712
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd/dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b5c6712

Please sign in to comment.