Specify subtask time as percentage of parent task time

I have indented several tasks under a parent task, and I want to specify that the parent task takes 50 units (50%) of the total time. I expect all sub tasks to then represent percentage times of this parent task. For example, a sub task taking 50% of a parent task that takes 50% of the total time = sub task takes 25% of total time.

How can I do this in GanttProject?

No such feature, sorry.