File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,8 +31,6 @@ func NewPomodoroWidget(thePomodoro *pomodoro.Pomodoro) *PomodoroWidget {
3131 l .timer .Label .TextStyle .Bold = true
3232 l .timer .Label .Alignment = fyne .TextAlignCenter
3333
34- timerPanel := container .NewCenter (container .NewHBox (l .timer ))
35-
3634 l .playButton = widget .NewButtonWithIcon ("" , theme .MediaPlayIcon (), nil )
3735 l .stopButton = widget .NewButtonWithIcon ("" , theme .MediaStopIcon (), nil )
3836 l .nextButton = widget .NewButtonWithIcon ("" , theme .MediaSkipNextIcon (), nil )
@@ -75,7 +73,7 @@ func NewPomodoroWidget(thePomodoro *pomodoro.Pomodoro) *PomodoroWidget {
7573 notifyPomodoroDone (kind )
7674 }
7775
78- l .content = container .NewVBox (timerPanel , l .buttons )
76+ l .content = container .NewCenter ( container . NewVBox (l . timer , l .buttons ) )
7977 l .ApplyPreferences ()
8078 return l
8179}
You can’t perform that action at this time.
0 commit comments