Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ab6dafbe5b |
@@ -97,9 +97,9 @@ func (ui *app) markUpdatePending(rel update.Release) {
|
|||||||
|
|
||||||
// showUpdateDialog menawarkan update: unduh sekarang, buka halaman rilis, atau nanti.
|
// showUpdateDialog menawarkan update: unduh sekarang, buka halaman rilis, atau nanti.
|
||||||
func (ui *app) showUpdateDialog(rel update.Release) {
|
func (ui *app) showUpdateDialog(rel update.Release) {
|
||||||
notes := widget.NewLabel(rel.Notes)
|
// catatan rilis GitHub berformat markdown; render supaya blok kode/daftar
|
||||||
notes.Wrapping = fyne.TextWrapWord
|
// tidak tampil sebagai teks mentah
|
||||||
notes.Importance = widget.LowImportance
|
notes := widget.NewRichTextFromMarkdown(rel.Notes)
|
||||||
|
|
||||||
// catatan rilis di tengah (bukan top): VScroll di Fyne punya MinSize kecil,
|
// catatan rilis di tengah (bukan top): VScroll di Fyne punya MinSize kecil,
|
||||||
// jadi kalau dipasang sebagai top dari Border isinya terpotong.
|
// jadi kalau dipasang sebagai top dari Border isinya terpotong.
|
||||||
|
|||||||
Reference in new issue
Block a user