Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 364556

Summary: Wrong label position (SequenceBox, CheckBox)
Product: z_Archived Reporter: Matthias Fischer <mfi>
Component: ScoutAssignee: Claudio Guglielmo <claudio.guglielmo>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: claudio.guglielmo, zimmermann
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Described bug
none
Code snippet of the picture none

Description Matthias Fischer CLA 2011-11-23 04:50:13 EST
Build Identifier: M20110210-1200

If i define a checkbox in a sequence box, the label of the checkbox is shown as label of the sequence box.
The sequence box itself has no label defined.

Reproducible: Always

Steps to Reproduce:
1. create a sequence box without a label
2. create a checkbox into the sequence box with label "123"
-> The label of the checkbox is shown as label of the sequence box

Workaround: definde the label position of the checkbox as "LABEL_POSITION_ON_FIELD"
Comment 1 Matthias Fischer CLA 2011-11-23 04:50:42 EST
Created attachment 207407 [details]
Described bug
Comment 2 Matthias Fischer CLA 2011-11-23 04:53:29 EST
Created attachment 207408 [details]
Code snippet of the picture
Comment 3 Claudio Guglielmo CLA 2011-11-23 08:28:08 EST
Fixed for 3.8.0: When having a checkbox in a sequencebox the label of the checkbox will never be appended to the label of the sequencebox. 

Additionally it is now possible to change this default behaviour. Either override execIsLabelSuffixCandidate in order to define custom rules to define which label of the fields should be used as suffix. Or override execCreateLabelSuffix to completely change or disable the computation of the label suffix.
Comment 4 Matthias Fischer CLA 2011-11-24 09:52:32 EST
Test OK
Comment 5 Matthias Zimmermann CLA 2012-07-09 06:47:43 EDT
ticket closed.
deliverd as part of eclipse scout 3.8.0 (juno release train)