Updated widdle api
This commit is contained in:
@@ -125,6 +125,8 @@ func (w *PartManager) Measure() {
|
||||
w.input.SetWidth(w.w - 2)
|
||||
w.input.SetHeight(1)
|
||||
}
|
||||
func (w *PartManager) SetPos(x, y int) { w.x, w.y = x, y }
|
||||
func (w *PartManager) SetSize(wdt, hgt int) { w.w, w.h = wdt, hgt }
|
||||
|
||||
func (w *PartManager) SetLabel(lbl string) { w.label = lbl }
|
||||
func (w *PartManager) SetType(tp string) { w.typeString = tp }
|
||||
|
||||
Reference in New Issue
Block a user