mirror of
https://github.com/OrbTools/OrbBind
synced 2024-11-11 01:10:45 +00:00
quick ui fix
This commit is contained in:
parent
4025652fef
commit
2ba03339bc
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user