diff options
author | Daniel Rentz [dr] <daniel.rentz@oracle.com> | 2010-12-09 10:13:55 +0100 |
---|---|---|
committer | Daniel Rentz [dr] <daniel.rentz@oracle.com> | 2010-12-09 10:13:55 +0100 |
commit | c1d9bbfb6d3d0e41905ab9afa65a1c6bcc0bf14f (patch) | |
tree | 7ed805a84aed51a973632d51f05413f16bf45627 /sc/source/ui/app/inputwin.cxx | |
parent | 51ccd3874858452681a716ca47d45f8a2ae8beac (diff) | |
parent | de667b72e642d4bb029143d5239c850fd45c17a8 (diff) |
mib19: rebase to DEV300m95
Diffstat (limited to 'sc/source/ui/app/inputwin.cxx')
-rwxr-xr-x[-rw-r--r--] | sc/source/ui/app/inputwin.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx index 2cabe7f9f2d6..b028a0a153ce 100644..100755 --- a/sc/source/ui/app/inputwin.cxx +++ b/sc/source/ui/app/inputwin.cxx @@ -757,7 +757,11 @@ ScTextWnd::ScTextWnd( Window* pParent ) aTextFont.SetColor (aTxtColor); aTextFont.SetWeight ( WEIGHT_NORMAL ); - SetSizePixel ( Size(1,TBX_WINDOW_HEIGHT) ); + Size aSize(1,TBX_WINDOW_HEIGHT); + Size aMinEditSize( Edit::GetMinimumEditSize() ); + if( aMinEditSize.Height() > aSize.Height() ) + aSize.Height() = aMinEditSize.Height(); + SetSizePixel ( aSize ); SetBackground ( aBgColor ); SetLineColor ( COL_BLACK ); SetMapMode ( MAP_TWIP ); |