Skip to content

Commit

Permalink
fix: fix ui layout
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelesaux committed Nov 7, 2024
1 parent 461e695 commit 78ffe64
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ require (
github.com/go-text/typesetting v0.2.0 // indirect
github.com/godbus/dbus/v5 v5.1.0 // indirect
github.com/gopherjs/gopherjs v1.17.2 // indirect
github.com/jeromelesaux/fyne-io v0.0.0-20241107211327-439df5b4ba7e
github.com/jeromelesaux/fyne-io v0.0.0-20241107213605-9c6834c8817e
github.com/jsummers/gobmp v0.0.0-20230614200233-a9de23ed2e25 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
github.com/muesli/clusters v0.0.0-20200529215643-2700303c1762 // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ github.com/jeromelesaux/fyne-io v0.0.0-20241106090145-745d8e199648 h1:4I6tfcGQ82
github.com/jeromelesaux/fyne-io v0.0.0-20241106090145-745d8e199648/go.mod h1:dsEn41lwXG/HadYC+I6sk0wDVFWeiFKtp+ADjO856QU=
github.com/jeromelesaux/fyne-io v0.0.0-20241107211327-439df5b4ba7e h1:Ud4IBCZiJXK73YXbzr76jilVR5zVECAASqoO5YyWAXQ=
github.com/jeromelesaux/fyne-io v0.0.0-20241107211327-439df5b4ba7e/go.mod h1:dsEn41lwXG/HadYC+I6sk0wDVFWeiFKtp+ADjO856QU=
github.com/jeromelesaux/fyne-io v0.0.0-20241107213605-9c6834c8817e h1:j3O16iuT5uC/zfOoxO2eudkpIcbyPTMX/zUFcQhpEtg=
github.com/jeromelesaux/fyne-io v0.0.0-20241107213605-9c6834c8817e/go.mod h1:dsEn41lwXG/HadYC+I6sk0wDVFWeiFKtp+ADjO856QU=
github.com/jeromelesaux/m4client v0.0.0-20200309212559-efb59c22369c/go.mod h1:JO0ijl8YXO6FxogJoC3yAFbBjSAnkwFquc8W6C7k94E=
github.com/jeromelesaux/m4client v0.0.0-20230327092026-4e80fd2b1474 h1:CWtkpA4Q63pkhHWRrd/e98JD4YVZhk3SZu58bUkQsuI=
github.com/jeromelesaux/m4client v0.0.0-20230327092026-4e80fd2b1474/go.mod h1:Xc0HzC2TZ7fbDWyB8LosvziBQ5QvvwVt3xxAIEavWRc=
Expand Down
2 changes: 1 addition & 1 deletion ui/martine-ui/martine_ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (m *MartineUI) Load(app fyne.App) {
}
m.window = app.NewWindow("Martine @IMPact v" + common.AppVersion)
m.window.SetContent(m.NewTabs())
m.window.Resize(fyne.NewSize(1400, 1000))
m.window.Resize(fyne.NewSize(1000, 600))
m.window.SetTitle("Martine @IMPact v" + common.AppVersion)
m.window.Show()
}
Expand Down
2 changes: 1 addition & 1 deletion ui/martine-ui/sprite_tab.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ func (m *MartineUI) newSpriteTab(s *menu.SpriteMenu) *fyne.Container {
s.OriginalImages,
),
container.New(
layout.NewGridLayoutWithRows(3),
layout.NewVBoxLayout(),
container.New(
layout.NewVBoxLayout(),
container.New(
Expand Down

0 comments on commit 78ffe64

Please sign in to comment.