Skip to content

Commit

Permalink
Add github link to about
Browse files Browse the repository at this point in the history
  • Loading branch information
achhabra2 committed Sep 25, 2020
1 parent 87cad82 commit 72dcd13
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,12 +305,13 @@ func AboutPage() *fyne.Container {
label.Alignment = fyne.TextAlignCenter
label.TextStyle.Bold = true

author := widget.NewLabel("Author: prosive AKA Aman @ github.com/achhabra2")
author := widget.NewLabel("Author: Aman AKA Prosive")
author.Alignment = fyne.TextAlignLeading

githubURL, _ := url.Parse("https://github.com/achhabra2/kqb-scoreboard")
githubWidget := widget.NewHyperlink("Github Repo", githubURL)
hotkeys := widget.NewLabel("Hotkeys: \n CTRL + Shift + R: Reset Timer \n CTRL + Shift + T: Toggle Timer Start / Stop \n CTRL + Shift + B: Increment Blue Wins \n CTRL + Shift + G: Increment Gold Wins")
hotkeys.Alignment = fyne.TextAlignLeading
container := fyne.NewContainerWithLayout(layout.NewVBoxLayout(), label, author, hotkeys)
container := fyne.NewContainerWithLayout(layout.NewVBoxLayout(), label, author, githubWidget, hotkeys)
return container
}

Expand Down

0 comments on commit 72dcd13

Please sign in to comment.