public void setBounds(UILayoutContainer container, UIRectangle bounds) { float rowHeight = bounds.getHeight(); this.setBounds(this.row.getTable().getColumnNumber(), this.row.getNumber(), rowHeight); this.setBounds(this.row.getTable().getColumnSoloMute(), this.row.getSoloMute(), rowHeight); this.setBounds(this.row.getTable().getColumnName(), this.row.getName(), rowHeight); this.setBounds(this.row.getTable().getColumnInstrument(), this.row.getInstrument(), rowHeight); this.setBounds(this.row.getTable().getColumnCanvas(), this.row.getPainter(), rowHeight); }
public void setBounds(TGTableColumn column, UIControl cell, float rowHeight) { UIRectangle bounds = column.getControl().getBounds(); cell.setBounds(new UIRectangle(bounds.getX(), 0, bounds.getWidth(), rowHeight)); }