Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364556 - Wrong label position (SequenceBox, CheckBox)
Summary: Wrong label position (SequenceBox, CheckBox)
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Claudio Guglielmo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-23 04:50 EST by Matthias Fischer CLA
Modified: 2021-08-19 11:22 EDT (History)
2 users (show)

See Also:


Attachments
Described bug (3.36 KB, image/png)
2011-11-23 04:50 EST, Matthias Fischer CLA
no flags Details
Code snippet of the picture (722 bytes, text/plain)
2011-11-23 04:53 EST, Matthias Fischer CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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)