Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359112 - Connection text decorator's direct editing box size is not accurate when the text is removed
Summary: Connection text decorator's direct editing box size is not accurate when the ...
Status: CLOSED FIXED
Alias: None
Product: Graphiti
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 0.9.0   Edit
Assignee: Michael Wenz CLA
QA Contact:
URL:
Whiteboard: Juno M3 theme_bugs
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-27 12:56 EDT by Shenxue Zhou CLA
Modified: 2012-06-28 10:46 EDT (History)
3 users (show)

See Also:
michael.wenz: juno+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shenxue Zhou CLA 2011-09-27 12:56:04 EDT

    
Comment 1 Shenxue Zhou CLA 2011-09-27 13:01:19 EDT
In my direct edit feature, I override stretchFieldToFitText() to return "true". The size of the direct-editing box is mostly accurate: it expands and shrinks according the text size. However, if the text is removed, the direct-editing text cell jumps to a pre-fixed width which is much wider than what's needed.
Comment 2 Michael Wenz CLA 2011-09-29 09:25:08 EDT
Fixed in head and pushed to Eclipse:
commit 7175d493ca906d11256e2955f5bc0363796da8ad
Author: mwenz <michael.wenz@sap.com> 2011-09-29 15:23:05
Committer: mwenz <michael.wenz@sap.com> 2011-09-29 15:23:35
Parent: 11e3ddb8e2d0d73d2138942451fa7d196d70acfc (cleanup)
Branches: master
Comment 3 Michael Wenz CLA 2012-04-11 10:41:19 EDT
Bookkeeping: Set target release
Comment 4 Michael Wenz CLA 2012-06-28 10:46:36 EDT
Part of Graphiti 0.9.0 (Eclipse Juno)