Skip to content

Commit

Permalink
Merge pull request fyne-io#3228 from andydotxyz/fix/3198
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Aug 29, 2022
2 parents 2068a34 + bf8dcbd commit bcc5a30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion widget/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ func (c *tableCells) MouseOut() {
}

func (c *tableCells) Resize(s fyne.Size) {
if s == c.size {
if s == c.t.size {
return
}
c.BaseWidget.Resize(s)
Expand Down
1 change: 1 addition & 0 deletions widget/table_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ func TestTable_Filled(t *testing.T) {
w := test.NewWindow(table)
defer w.Close()
w.Resize(fyne.NewSize(180, 180))
w.Content().Refresh()
test.AssertImageMatches(t, "table/filled.png", w.Canvas().Capture())
}

Expand Down

0 comments on commit bcc5a30

Please sign in to comment.