[Uml-devel] branches/work/soc-umbrello/umbrello
Gopala Krishna A
krishna.ggk at gmail.com
Thu Jul 24 20:56:07 UTC 2008
SVN commit 837500 by gopala:
Forgot this important log in the last commit 837495.
Margin support is now provided by the NewUMLRectWidget
directly. NewUMLRectWidget::setMargin, NewUMLRectWidget::margin can be
used to set/get the margin for any widget object.
The margin defaults to 5 pixels.
This avoids code duplication.
M +1 -1 newumlrectwidget.cpp
--- branches/work/soc-umbrello/umbrello/newumlrectwidget.cpp #837499:837500
@@ -43,7 +43,7 @@
m_size(20, 20),
m_minimumSize(NewUMLRectWidget::DefaultMinimumSize),
m_maximumSize(NewUMLRectWidget::DefaultMaximumSize),
- m_margin(5),
+ m_margin(5.0), // Default margin size
m_resizable(true),
m_widgetHandle(0)
{
More information about the umbrello-devel
mailing list