set width for compound view