Building tab panels using subregions