TextBox contstrains scroll positions to max

This commit is contained in:
2023-01-20 23:40:59 -05:00
parent 83d5064803
commit 3e8523f37a
2 changed files with 12 additions and 3 deletions

View File

@@ -131,7 +131,7 @@ func (element *Artist) Resize (width, height int) {
}
func (element *Artist) lines (weight int, bounds image.Rectangle) {
bounds = bounds.Inset(8)
bounds = bounds.Inset(4)
c := uhex(0xFFFFFFFF)
artist.Line(element, c, weight, bounds.Min, bounds.Max)
artist.Line (