set minwidth in pamgallery