Compare commits

..

No commits in common. "d01d39569be1f1427dbde6b4c31cb7d1d7cefb99" and "e62afcd6670c9682f3a44d1ea692126861b823bd" have entirely different histories.

2 changed files with 0 additions and 3 deletions

View File

@ -12,6 +12,5 @@ func NewLabel (text string) *Label {
this := &Label { TextBox: tomo.NewTextBox() }
this.SetRole(tomo.R("objects", "Label", ""))
this.SetText(text)
this.SetAlign(tomo.AlignStart, tomo.AlignMiddle)
return this
}

View File

@ -1,6 +1,5 @@
package objects
import "math"
import "image"
import "git.tebibyte.media/tomo/tomo"
import "git.tebibyte.media/tomo/tomo/input"
@ -34,7 +33,6 @@ func newSlider (orient string, value float64) *Slider {
},
layout: sliderLayout {
vertical: orient == "vertical",
value: math.NaN(),
},
step: 0.05,
}