Example #1
0
 public void resize(Coord sz) {
   super.resize(sz);
   if (in != null) {
     in.c = new Coord(0, this.sz.y - 20);
     in.resize(new Coord(this.sz.x, 20));
   }
 }
Example #2
0
 public void resize(Coord sz) {
   super.resize(sz);
   this.c = base.add(0, -this.sz.y);
   chansel.resize(new Coord(selw, this.sz.y));
   if (sel != null) sel.resize(new Coord(this.sz.x - selw, this.sz.y));
 }