changed some ui elements
This commit is contained in:
@@ -1898,8 +1898,8 @@ func main() {
|
|||||||
waterTab,
|
waterTab,
|
||||||
roadsTab,
|
roadsTab,
|
||||||
fortificationsTab,
|
fortificationsTab,
|
||||||
textTab,
|
|
||||||
buildingsTab,
|
buildingsTab,
|
||||||
|
textTab,
|
||||||
}
|
}
|
||||||
tabContent := container.NewMax()
|
tabContent := container.NewMax()
|
||||||
tabButtons := make([]*tabButton, 0, len(tabItems))
|
tabButtons := make([]*tabButton, 0, len(tabItems))
|
||||||
@@ -1932,8 +1932,13 @@ func main() {
|
|||||||
)
|
)
|
||||||
setActiveTab(imageTab.Text)
|
setActiveTab(imageTab.Text)
|
||||||
|
|
||||||
|
titleText := canvas.NewText("RPG City Maker Reborn", color.RGBA{R: 255, G: 255, B: 255, A: 255})
|
||||||
|
titleText.TextSize = 24
|
||||||
|
titleText.TextStyle = fyne.TextStyle{Bold: true}
|
||||||
|
titleText.Alignment = fyne.TextAlignCenter
|
||||||
|
|
||||||
left := container.NewVBox(
|
left := container.NewVBox(
|
||||||
widget.NewLabel("RPG City Maker Reborn"),
|
container.NewPadded(titleText),
|
||||||
tabHeader,
|
tabHeader,
|
||||||
tabContent,
|
tabContent,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user