Home RAP
New Blog Posts: Merging Reports - Part 1 and Part 2

Angled text anchors

edited January 2013 in RAP
Hi

in a prior version (delphi7, reportbuilder 9.02) we made lots of reports
with angled labels in the headers. We filled the text depending a dialog
while opening the report.

We migrated to delphi (XE2 reportbuilder 14.06) and see that the
autosize behaves differently. In stead of growing to the upper right
corner it goes down.

Changing alignment or anchors does not help. How can i anchor the left,
down corner so it autosizes like it did?

Thanx in advance

Ruud

Comments

  • edited January 2013
    Hi Ruud,

    For future reference please try to post to the relevant newsgroup. I'm
    unsure how this relates to RAP.

    What angle is your text set to? In my testing with a simple DBText set
    to a 45 degree angle and autosize, the text properly grows to the top
    right as it should.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2013
    Hi Nico,

    thanks for looking in to this

    i posted it here because i filled the text in Rap. But i see your point.
    It happens also in a normal report.

    I take 2 labels. 1 of them i set autosize to true. If i change both
    Captions they react different.

    The one with autosize false has a negative RotatedOriginTop (-349)
    The one with autosize true gets a positive RotatedOriginTop (4498)

    One moves up the other moves down.

    Kind regards

    Ruud




  • edited January 2013
    Hi Ruud,

    Thanks for the information however I'm still not seeing this behavior.
    Is this something that only happens in the designer? Does it happen
    with DBText or only labels that are manually entered?

    What angle are you using?

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2013
    Hi Nico,

    i mailed you some screen shots. A picture says more than a thousand words.

    It does not matter if i do this design time or runtime in the designer.
    It happens with labels and dbtext.

    i use an angle of 30 degree. 45 or 60 has the same behaviour.

    Regards

    Ruud
This discussion has been closed.