(svn r25532) -Fix: Do not make the minimal size of matrix or panel widgets depend on their number of rows, since that changes when resizing the window.

This commit is contained in:
frosch
2013-06-30 14:33:15 +00:00
parent 98fdd20f84
commit 5f8f71edf0
5 changed files with 11 additions and 7 deletions

View File

@@ -153,7 +153,7 @@ public:
size->width += padding.width;
this->line_height = FONT_HEIGHT_NORMAL + WD_MATRIX_TOP + WD_MATRIX_BOTTOM;
resize->height = this->line_height;
size->height = this->vscroll->GetCapacity() * this->line_height;
size->height = 5 * this->line_height;
break;
}