Skip to content
Permalink
Browse files

Consider frame width for annotation item minimum size

git-svn-id: http://svn.osgeo.org/qgis/trunk@13329 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Apr 20, 2010
1 parent 61ecac3 commit a514b0faa81a2c15968d575eea91a31b29975c65
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/gui/qgsformannotationitem.cpp
@@ -145,7 +145,8 @@ QSizeF QgsFormAnnotationItem::minimumFrameSize() const
{
if ( mDesignerWidget )
{
return mDesignerWidget->minimumSize();
QSizeF widgetMinSize = mDesignerWidget->minimumSize();
return QSizeF( 2 * mFrameBorderWidth + widgetMinSize.width(), 2 * mFrameBorderWidth + widgetMinSize.width() );
}
else
{

0 comments on commit a514b0f

Please sign in to comment.
You can’t perform that action at this time.