Skip to content

Are task width and column width attributes still functioning? #107

@jwhendy

Description

@jwhendy

I've been trying to set the gantt chart width and found three posts on the mailing list referring to setting column width:

Steps to reproduce:

  • Download tutorial.tjp
  • Remove copyright symbol and change Sebastian and Klaus' names to prevent compilation errors per this bug report
  • Add width attribute to chart property
    taskreport overview "" {
    ...
       columns bsi { title 'WBS' },
           name, start, end, effort, cost,
           revenue, chart { ${TaskTip} width 1400}
     ...
    }
  • Compile with tj3 ~/path/to/tutorial.tjp
  • Open Overview.html
  • Chrome -> Inspect element and observe style for gantt chart <td> in table:
    element.style {
    position: relative;
    overflow: auto;
    width: 320px;
    height: 369px;
    }
  • Undo change above, then repeat for whole taskreport:
    taskreport overview "" {
      width 1400
      ...
    }

No change.

Am I doing something wrong, or are the width attributes not functioning properly?

Running Arch Linux x86_64, with these TJ/ruby details:

$ tj3 --version
TaskJuggler v3.4.0 - A Project Management Software  

$ ruby --version
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]

Thanks!
John

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions