Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • costy
    replied
    Hi Isomorphic,

    We did the test with latest SmartGWT 14.1, but it does not work.
    With setWrap(false) & setShowEllipsisWhenClipped(true) on the lane field, visually it is all ok.
    But in showPrintPreview, these settings are ignored.

    Best regards,
    Costy

    Leave a comment:


  • Isomorphic
    replied
    You didn't mention your version or build-date, which we always need to know.

    For now, we've made a change to address in 13.1 and 14.x - you can try it out in today's builds, dated December 19, and later ones.

    Leave a comment:


  • costy
    replied
    Hi Isomorphic,

    Yes, i do. What you proposed is a good solution : do not clip the lane text when printing but correct the alignment of events to the right lane.

    Best regards,
    Costy

    Leave a comment:


  • Isomorphic
    replied
    So what is it you actually want - you want to show all the information (no clipping - which is how printing works in general) but you just want the misalignment fixed?

    Leave a comment:


  • costy
    replied
    Hi Isomorpic,

    The need is to print a building maintenance plan.
    I understand the need of printing all information. But in that case events are not any more on their rows (which is the original problem I agree with you).
    Please find attach the result.

    Click image for larger version

Name:	TimelinePrintPreviewEvents.png
Views:	79
Size:	269.8 KB
ID:	274339

    Leave a comment:


  • Isomorphic
    replied
    A fixed line height would omit information from the printed view, which is generally not the point of printing, since vertically resizing rows on a printed sheet of paper is challenging.

    It seems like you might be trying to do something that isn't really the intended use of the printing system - could you clarify the final use case, as understood by the end user (not the developer - the end user)?

    Leave a comment:


  • costy
    started a topic Timeline printPreview with fixed lane height

    Timeline printPreview with fixed lane height

    Hi Isomorphic,

    Please find attached the printPreview problem.
    Is it possible to keep the fixed lane height of a timeline when using printPreview ?

    Click image for larger version

Name:	TimelinePrintPreview.png
Views:	102
Size:	340.2 KB
ID:	274335

    I tried a lot of solutions with laneHeight, with autochild "timeLineView", setFixedRecordHeight(true), setCellHeight, ... no luck.
    In print preview, lane text overflows and events are not aligned any more.


    Best regards,
    Costy
Working...
X