diff options
author | obo <obo@openoffice.org> | 2010-07-29 11:05:21 +0200 |
---|---|---|
committer | obo <obo@openoffice.org> | 2010-07-29 11:05:21 +0200 |
commit | 2998a94e194cd67050129d163d6bb155d667eda7 (patch) | |
tree | 2cd0d2baaf856e41743246ff73a63a2fa3374170 | |
parent | bff6dec4145b52a98b4b2e9ed2cb00b7e1ab17e4 (diff) | |
parent | f54ed5524c707fe9153a74a530fafba732006909 (diff) |
CWS-TOOLING: integrate CWS vcl113
Notes
Notes:
split repo tag: calc_ooo/DEV300_m86
-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 ); |