when a popup widget is repositioned, it should let the layout widget compute the width/height that it wants and then pass that into the height/width function, allowing the layout widget to attempt to re-size the popup itself.
currently the layout has no say on new dimesions.