Revert "Fixed a bug where the panel could be too small in certain cases"

This reverts commit c349c3d43bd59ff22a638bded955594bd765fc26.

Change-Id: I76a41db987027128294b4e398af9564a8e2aaa05
1 file changed