mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
This routine should always return the minimal height the widget will
accept, not the current height of the widget. Returning the current height causes all sorts of problems such as windows that are impossible to resize down. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11826 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
b7d7e6a9f8
commit
b8641ed7ea
@ -665,9 +665,6 @@ compute_optimal_height (GnucashSheet *sheet)
|
||||
if (!style)
|
||||
return DEFAULT_REGISTER_HEIGHT;
|
||||
|
||||
if (sheet->window_height >= 0)
|
||||
return sheet->window_height;
|
||||
|
||||
cd = gnucash_style_get_cell_dimensions (style, 0, 0);
|
||||
if (cd == NULL)
|
||||
return DEFAULT_REGISTER_HEIGHT;
|
||||
|
Loading…
Reference in New Issue
Block a user