Alignment problem with TsWebLabel

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #55660
    Support
    Keymaster

      Thank you for the demo.

      Same problem I see with standard TLabel components in a new application.

      Something wrong with AutoSizing in VCL, seems. I will think, maybe I can improve it in the package.

      #55662
      HeDiBo
      Participant
        'Support' wrote:

        Thank you for the demo.

        Same problem I see with standard TLabel components in a new application.

        Something wrong with AutoSizing in VCL, seems. I will think, maybe I can improve it in the package.

        I use Delphi XE4 and don't see this problem with standard labels.

        This test project illustrates it:

        [attachment=7933:LabelAlignment.rar]

        #55666
        Support
        Keymaster

          Look my example 🙂

          Some conditions are required for reproducing.

          #55747
          HeDiBo
          Participant
            'Support' wrote:

            Look my example 🙂

            Some conditions are required for reproducing.

            Yeah. Because you start off with labels that are way too small.

            Start off with labels that provide enough room for the text, and at run time, labels align nicely.

            #55752
            Support
            Keymaster

              But autosizing is not working well there 🙂

              Same solution you can use with TsWebLabel too, I think (set bigger size)

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.