Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas FAUVERGUE2017-04-19 14:07:30 +0000
committerGerrit Code Review @ Eclipse.org2017-04-24 08:08:10 +0000
commit4f933ee2254384d8e4a6450f6015781ef74145a7 (patch)
treea3db4d5464c060932e0a88c0791dd0c36eaaa313 /plugins/developer
parent4c809ebfaf618ebf85d23d9228e45e364c5d12d6 (diff)
downloadorg.eclipse.papyrus-4f933ee2254384d8e4a6450f6015781ef74145a7.tar.gz
org.eclipse.papyrus-4f933ee2254384d8e4a6450f6015781ef74145a7.tar.xz
org.eclipse.papyrus-4f933ee2254384d8e4a6450f6015781ef74145a7.zip
Bug 513267: [State machine diagram] Superfluous scrollbars always
present https://bugs.eclipse.org/bugs/show_bug.cgi?id=513267 Initialize the height Header of StateMachine to 20 because after the creation, the CustomStatsMachineNameEditPart refreshed it and automatically resize it to 20. When it was initialized to 13, the height of created region was calculated by the height of the StateMachine minus the size of the header (so 300 - 13 = 287). And when the header was resized to 20, the StateMachine was resized to 280. So the Region was taller than the StateCompartment and the ScollBar was displayed (because 287 in 280 compartment). Change-Id: I4e5d0c1d21b03fea63ee2ae0246a6f3af63b160e Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
Diffstat (limited to 'plugins/developer')
0 files changed, 0 insertions, 0 deletions

Back to the top