[Libreoffice-commits] .: 2 commits - cui/source

Petr Mladek pmladek at kemper.freedesktop.org
Wed Jan 5 10:05:03 PST 2011


 cui/source/options/optgdlg.cxx |    2 +-
 cui/source/options/optgdlg.src |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ebb12eddef74076d9e2559359b21aaa7f0bf5661
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Wed Jan 5 12:29:43 2011 -0500

    Make the Reset help agent button wider for Italian text. (fdo#32133)
    
    Signed-off-by: Petr Mladek <pmladek at suse.cz>

diff --git a/cui/source/options/optgdlg.src b/cui/source/options/optgdlg.src
index e2c3478..762e025 100644
--- a/cui/source/options/optgdlg.src
+++ b/cui/source/options/optgdlg.src
@@ -93,7 +93,7 @@ TabPage OFA_TP_MISC
     PushButton PB_HELPAGENT_RESET
     {
         Pos = MAP_APPFONT( COL3, ROW3 );
-        Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
+        Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH + 20, RSC_CD_PUSHBUTTON_HEIGHT );
         Text [ en-US ] = "~Reset Help Agent";
     };
     FixedLine FL_FILEDLG
commit f785a4af182c5f864fe43b97c6ac643ee0594bd5
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Wed Jan 5 12:21:29 2011 -0500

    Fixed layout breakage for KDE, X11 and (possibly) Mac. (fdo#32133)
    
    Signed-off-by: Petr Mladek <pmladek at suse.cz>

diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 7a1e3c1..cd4ecb6 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -267,7 +267,7 @@ OfaMiscTabPage::OfaMiscTabPage(Window* pParent, const SfxItemSet& rSet ) :
     if ( !aFileDlgCB.IsVisible() )
     {
         // rearrange the following controls
-        Point aNewPos = aDocStatusFL.GetPosPixel();
+        Point aNewPos = aPrintDlgFL.GetPosPixel();
         long nDelta = aNewPos.Y() - aFileDlgFL.GetPosPixel().Y();
 
         Window* pWins[] =


More information about the Libreoffice-commits mailing list