INTEGRATION: CWS vcl30stop1 (1.14.180); FILE MERGED
2008/07/21 18:14:59 pl 1.14.180.1: #i91917# calc window size AFTER including all items
This commit is contained in:
parent
5b7576e7e9
commit
e774501fed
1 changed files with 6 additions and 5 deletions
|
@ -7,7 +7,7 @@
|
|||
* OpenOffice.org - a multi-platform office productivity suite
|
||||
*
|
||||
* $RCSfile: hyprlink.cxx,v $
|
||||
* $Revision: 1.14 $
|
||||
* $Revision: 1.15 $
|
||||
*
|
||||
* This file is part of OpenOffice.org.
|
||||
*
|
||||
|
@ -127,10 +127,6 @@ SvxHyperlinkDlg::SvxHyperlinkDlg( SfxBindings *_pBindings, Window* pParent) :
|
|||
nMaxWidth = GetSizePixel().Width();
|
||||
nMaxHeight = GetSizePixel().Height();
|
||||
|
||||
SetSizePixel(CalcWindowSizePixel()); // Groesse initialisieren
|
||||
|
||||
nMaxHeight = GetSizePixel().Height(); // Hoehe nochmal merken, da sie veraendert wurde
|
||||
// SetSizePixel ruft Resize-Handler!
|
||||
|
||||
InsertSeparator( 0 );
|
||||
InsertWindow( CB_URL, &aUrlCB, 0, 0 );
|
||||
|
@ -152,6 +148,11 @@ SvxHyperlinkDlg::SvxHyperlinkDlg( SfxBindings *_pBindings, Window* pParent) :
|
|||
if ( sItemText.Len() > 0 )
|
||||
SetItemText( CB_NAME, sItemText );
|
||||
|
||||
SetSizePixel(CalcWindowSizePixel()); // Groesse initialisieren
|
||||
|
||||
nMaxHeight = GetSizePixel().Height(); // Hoehe nochmal merken, da sie veraendert wurde
|
||||
// SetSizePixel ruft Resize-Handler!
|
||||
|
||||
Show();
|
||||
Resize();
|
||||
|
||||
|
|
Loading…
Reference in a new issue