Compare commits

..

2 Commits

Author SHA1 Message Date
ae5c177484 Minimum sizes make more sense now 2023-07-12 01:45:08 -04:00
facd85ef21 Add SetText method to TextBox 2023-07-08 23:49:51 -04:00

View File

@@ -109,10 +109,11 @@ type Box interface {
Window () Window
Bounds () image.Rectangle
InnerBounds () image.Rectangle
MinimumSize () image.Point
SetBounds (image.Rectangle)
SetColor (color.Color)
SetBorder (...Border)
SetMinimumSize (int, int)
SetMinimumSize (image.Point)
SetPadding (Inset)
SetDNDData (data.Data)
@@ -159,6 +160,8 @@ type ContentBox interface {
// TextBox is a box that contains text content.
type TextBox interface {
ContentBox
SetText (string)
SetTextColor (color.Color)
SetFace (font.Face)
SetHAlign (Align)