mirror of
https://github.com/taigrr/crocgui
synced 2025-01-18 04:03:16 -08:00
small about fix
This commit is contained in:
parent
ebfac6f2e2
commit
2a63a91d6a
3
about.go
3
about.go
@ -3,6 +3,7 @@ package main
|
||||
import (
|
||||
_ "embed"
|
||||
"net/url"
|
||||
"strings"
|
||||
|
||||
"fyne.io/fyne/v2"
|
||||
"fyne.io/fyne/v2/container"
|
||||
@ -19,6 +20,8 @@ func parseURL(s string) *url.URL {
|
||||
var longdesc string
|
||||
|
||||
func aboutTabItem() *container.TabItem {
|
||||
longdesc = strings.ReplaceAll(longdesc, "<b>", "")
|
||||
longdesc = strings.ReplaceAll(longdesc, "</b>", "")
|
||||
aboutInfo := widget.NewLabel(longdesc)
|
||||
aboutInfo.Wrapping = fyne.TextWrapWord
|
||||
return container.NewTabItemWithIcon("About", theme.InfoIcon(), container.NewBorder(nil,
|
||||
|
@ -1,5 +1,4 @@
|
||||
croc is a tool that allows any two computers to simply and securely transfer
|
||||
files.
|
||||
croc is a tool that allows any two computers to simply and securely transfer files.
|
||||
|
||||
<b>Features</b>
|
||||
- allows <b>any two computers</b> to transfer data (using a relay)
|
||||
|
Loading…
x
Reference in New Issue
Block a user