2
0
mirror of https://github.com/OrbTools/OrbBind synced 2024-11-11 01:10:45 +00:00

quick ui fix

This commit is contained in:
mini 2020-04-15 18:46:21 -04:00
parent 4025652fef
commit 2ba03339bc

View File

@ -19,8 +19,7 @@ func main() {
omap := &orbweaver.PKM{}
nmp := mainpage.NewMainPage(window, omap)
nsp := sidepage.NewSidePage(window, omap)
tabs := widget.NewTabContainer(nmp.Create())
tabs.Append(nsp.Create())
tabs := widget.NewTabContainer(nmp.Create(), nsp.Create())
tabs.Resize(window.Content().Size())
window.SetMainMenu(fyne.NewMainMenu(fyne.NewMenu("File", fyne.NewMenuItem("Save", func() {
dialog.ShowFileSave(func(p string) {