Skip to content

Commit 294b1ed

Browse files
committed
Distinguish table header and row
1 parent 829cfa7 commit 294b1ed

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

main.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,11 @@ func showPreviewWindow(filePath string, fyneApp fyne.App) {
146146
canvas := fyne.CurrentApp().Driver().CanvasForObject(cell)
147147
widget.ShowPopUpMenuAtPosition(menu, canvas, event.AbsolutePosition)
148148
}
149+
if id.Row == 0 {
150+
cell.Importance = widget.HighImportance
151+
} else {
152+
cell.Importance = widget.MediumImportance
153+
}
149154
},
150155
)
151156

0 commit comments

Comments
 (0)