Skip to content

Commit

Permalink
Fyne is broken beyond 2.5.3 and not backwards compatible. have to mai…
Browse files Browse the repository at this point in the history
…ntain own fork from now on
  • Loading branch information
roffe committed Jan 19, 2025
1 parent 72b262c commit ebe9ebe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FyneApp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Website = "https://roffe.nu/"
Name = "txlogger"
ID = "com.roffe.txlogger"
Version = "2.0.0"
Build = 465
Build = 467
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,4 @@ replace github.com/roffe/gocan => C:\Users\flejd\go\src\github.com\roffe\gocan

replace github.com/roffe/ecusymbol => C:\Users\flejd\go\src\github.com\roffe\ecusymbol

// replace fyne.io/fyne/v2 => C:\Users\flejd\go\src\github.com\Jacalz\fyne
replace fyne.io/fyne/v2 => C:\Users\flejd\go\src\github.com\roffe\fyne
4 changes: 4 additions & 0 deletions pkg/widgets/plotter/plotter.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
// var _ fyne.Focusable = (*Plotter)(nil)
// var _ fyne.Tappable = (*Plotter)(nil)
var _ fyne.Draggable = (*Plotter)(nil)
var _ fyne.Widget = (*Plotter)(nil)

type PlotterControl interface {
Seek(int)
Expand Down Expand Up @@ -88,6 +89,9 @@ func NewPlotter(values map[string][]float64, opts ...PlotterOpt) *Plotter {
}
p.ExtendBaseWidget(p)

l := widget.NewLabel("Cursor")
l.Truncation = fyne.TextTruncateOff

p.canvasImage.FillMode = canvas.ImageFillStretch
p.canvasImage.ScaleMode = canvas.ImageScaleFastest

Expand Down

0 comments on commit ebe9ebe

Please sign in to comment.