Let the viewport return a proper best size.

The code is used to experiment with a different approach of the
implementation of a listbox.
This commit is contained in:
Mark de Wever 2012-05-28 07:54:31 +00:00
parent c706b64807
commit b2a8da1f0e

View file

@ -180,7 +180,7 @@ const twidget* tviewport::find(
tpoint tviewport::calculate_best_size() const
{
return tpoint(800, 500);
return widget_.get_best_size();
}
bool tviewport::disable_click_dismiss() const