Bug 351581

Summary: Text on node widgets reaches widget borders
Product: [Applications] umbrello Reporter: Ralf Habacker <ralf.habacker>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.16.3 (KDE Applications 15.04.3)   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed In: 2.17.1 (KDE Applications 15.08.1)
Attachments: screenshot

Description Ralf Habacker 2015-08-21 19:00:43 UTC
As shown from the appended screenshot there is no margin between the text and the border of the node widget. 

Reproducible: Always

Steps to Reproduce:
1. open umbrello
2. add deployment diagram
3. add node widget

Actual Results:  
The text reaches the widget border

Expected Results:  
The text should not reach the widget border.
Comment 1 Ralf Habacker 2015-08-21 19:01:16 UTC
Created attachment 94153 [details]
screenshot
Comment 2 Ralf Habacker 2015-08-21 19:05:52 UTC
Git commit 4c8a3b0143c58c4a5f486d6e45bcb656a574e397 by Ralf Habacker.
Committed on 21/08/2015 at 19:05.
Pushed by habacker into branch 'Applications/15.08'.

Fix 'Text on node widgets reaches widget borders'.

This commit adds a const variable UMLWidget::defaultMargin,
which holds the default widget margin.

FIXED-IN:2.17.1 (KDE Applications 15.08.1)

M  +1    -1    umbrello/widgets/nodewidget.cpp
M  +1    -0    umbrello/widgets/umlwidget.cpp
M  +1    -0    umbrello/widgets/umlwidget.h

http://commits.kde.org/umbrello/4c8a3b0143c58c4a5f486d6e45bcb656a574e397