~veger/ganttproject/manual-import

« back to all changes in this revision

Viewing changes to ganttproject/src/net/sourceforge/ganttproject/chart/TaskLabelsRendererImpl.java

  • Committer: Maarten Bezemer
  • Date: 2012-01-22 12:20:00 UTC
  • Revision ID: maarten.bezemer@gmail.com-20120122122000-qwyec45rjx86wi7o
Updated till 2fe683a778c3 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * This code is provided under the terms of GPL version 2.
 
2
 * This code is provided under the terms of GPL version 3.
3
3
 * Please see LICENSE file for details
4
4
 * (C) Dmitry Barashev, GanttProject team, 2004-2008
5
5
 */
129
129
    void createUpSideText(Rectangle rectangle) {
130
130
        TaskActivity activity = (TaskActivity) rectangle.getModelObject();
131
131
        String text = getTaskLabel(activity.getTask(), UP);
132
 
 
133
132
        if (text.length() > 0) {
134
133
            int xOrigin = rectangle.getRightX();
135
134
            int yOrigin = rectangle.myTopY - 3;