User: hr Date: 05/04/11 03:04:21 Modified: /dba/dbaccess/source/ui/app/ AppTitleWindow.cxx
Log: INTEGRATION: CWS dba32 (1.3.114); FILE MERGED 2005/04/06 13:20:51 oj 1.3.114.1: #i46798\ change size of title window and center icons File Changes: Directory: /dba/dbaccess/source/ui/app/ ======================================= File [changed]: AppTitleWindow.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppTitleWindow.cxx?r1=1.3&r2=1.4 Delta lines: +2 -1 ------------------- --- AppTitleWindow.cxx 9 Sep 2004 09:39:59 -0000 1.3 +++ AppTitleWindow.cxx 11 Apr 2005 10:04:19 -0000 1.4 @@ -149,7 +149,8 @@ // ----------------------------------------------------------------------------- long OTitleWindow::GetWidthPixel() const { - sal_Int32 nWidth = GetTextWidth(m_aTitle.GetText()); + Size aTextSize = LogicToPixel( Size( 12, 0 ), MAP_APPFONT ); + sal_Int32 nWidth = GetTextWidth(m_aTitle.GetText()) + 2*aTextSize.Width(); return nWidth; } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
