To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=78248
                 Issue #|78248
                 Summary|button minimum size calcs ...
               Component|gsl
                 Version|680m211
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|pl
             Reported by|mmeeks





------- Additional comments from [EMAIL PROTECTED] Fri Jun  8 17:41:55 +0000 
2007 -------
The minimum button size calculation looks under-loved :-)
This makes our layout prototype look better.

--- vcl/source/control/button.cxx
+++ vcl/source/control/button.cxx
@@ -1989,6 +1991,10 @@ Size PushButton::CalcMinimumSize( long n
                              PushButton::GetText(), ImplGetTextStyle(
nDrawFlags ) ).GetSize();
     }
 
+    // cf. ImplDrawPushButton ...
+    aSize.Width() += 8;
+    aSize.Height() += 8;
+
     return CalcWindowSize( aSize );
 }
 
Thanks :-)

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to