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:
parent
c706b64807
commit
b2a8da1f0e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue