changed: after setting compact view and then normal view the program restores
the vertical size of the last used window git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@119 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
parent
e960c2adea
commit
87abe4ce7e
|
@ -730,7 +730,7 @@ POINT p;
|
||||||
TabWindowFunctions::SetSizeOfFunctionsList(tab, cx, cy-p.y, borderx, bordery);
|
TabWindowFunctions::SetSizeOfFunctionsList(tab, cx, cy-p.y, borderx, bordery);
|
||||||
TabWindowFunctions::SetSizeOfConvertingLists(tab, cx, cy-p.y, borderx, bordery);
|
TabWindowFunctions::SetSizeOfConvertingLists(tab, cx, cy-p.y, borderx, bordery);
|
||||||
|
|
||||||
if( fwSizeType != SIZE_MINIMIZED )
|
if( fwSizeType != SIZE_MINIMIZED && GetPrgRes()->GetView() != ProgramResources::view_compact )
|
||||||
{
|
{
|
||||||
GetWindowRect(hWnd,&r);
|
GetWindowRect(hWnd,&r);
|
||||||
GetPrgRes()->SetXSize( r.right - r.left );
|
GetPrgRes()->SetXSize( r.right - r.left );
|
||||||
|
|
Loading…
Reference in New Issue