Skip to content

Commit

Permalink
Distinguish table header and row
Browse files Browse the repository at this point in the history
  • Loading branch information
RikudouSage committed Oct 14, 2024
1 parent 829cfa7 commit 294b1ed
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,11 @@ func showPreviewWindow(filePath string, fyneApp fyne.App) {
canvas := fyne.CurrentApp().Driver().CanvasForObject(cell)
widget.ShowPopUpMenuAtPosition(menu, canvas, event.AbsolutePosition)
}
if id.Row == 0 {
cell.Importance = widget.HighImportance
} else {
cell.Importance = widget.MediumImportance
}
},
)

Expand Down

0 comments on commit 294b1ed

Please sign in to comment.