Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365227 - PlannerField: Split position between Table and ActivityMap
Summary: PlannerField: Split position between Table and ActivityMap
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-30 12:33 EST by Otmar Caduff CLA
Modified: 2021-08-19 11:28 EDT (History)
1 user (show)

See Also:
zimmermann: indigo+
zimmermann: juno+


Attachments
Screenshot displaying the problem. (47.08 KB, image/png)
2011-11-30 12:34 EST, Otmar Caduff CLA
no flags Details
Proposed patch to be applied on 2011-june release (4.08 KB, application/octet-stream)
2011-11-30 12:38 EST, Otmar Caduff CLA
daniel.wiehl: iplog+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Otmar Caduff CLA 2011-11-30 12:33:36 EST
Build Identifier: 

Currently, there is no viable way to influence where the table is split from the activity map on a planner field. The problem arises especially when the table has more than one column to be shown. (See attachment)
Currently, in org.eclipse.scout.rt.ui.swing.form.fields.plannerfield.SwingScoutPlannerField.initializeSwing(), the split is set statically to 168 pixels.

Reproducible: Always
Comment 1 Otmar Caduff CLA 2011-11-30 12:34:28 EST
Created attachment 207743 [details]
Screenshot displaying the problem.
Comment 2 Otmar Caduff CLA 2011-11-30 12:38:19 EST
Created attachment 207745 [details]
Proposed patch to be applied on 2011-june release
Comment 3 Daniel Wiehl CLA 2011-12-13 02:25:28 EST
NEW - bug 365227: PlannerField: Split position between Table and ActivityMap 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=365227

13.12.2011 dwi [contributed by Otmar Caduff - oca, BSI Business Systems Integration AG]
Problem:
Currently, there is no viable way to influence where the table is split from the activity map on a planner field. The problem arises especially when the table has more than one column to be shown. Currently, in org.eclipse.scout.rt.ui.swing.form.fields.plannerfield.SwingScoutPlannerField.initializeSwing(), the split is set statically to 168 pixels.
Solution:
Added method getConfiguredSplitterPosition() on org.eclipse.scout.rt.client.ui.form.fields.plannerfield.AbstractPlannerField, which returns 168 as per default and can be overriden by subclasses.
org.eclipse.scout.rt.ui.swing.form.fields.plannerfield.SwingScoutPlannerField takes this property into account when creating the UI.
Plug-Ins changed: org.eclipse.scout.rt.client, org.eclipse.scout.rt.ui.swing
Migration: None
Comment 4 Matthias Zimmermann CLA 2012-02-29 07:05:06 EST
shipped with eclipse scout 3.7.2 (indigo sr2)
Comment 5 Matthias Zimmermann CLA 2012-05-22 06:51:27 EDT
removed iplog flag from bug (the one on the patch is enough)