Announcement

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

    Display Date in TextField of a DateItem on the left

    Hi,
    in every Item on a dynamic form, the text of this item is displayed on the left side of the item. The only exception is the textField of a DateItem. Here the date is displayed on the right side of this textfield.
    Is it possible to display the date on the left side of the textfield to make them look all the same? (or display all other elements like TextItems or Spinners on the right side?)

    Greets Major

    #2
    You might be talking about alignment, if so, use the alignment properties to control it (see the docs).

    Comment


      #3
      Thank you for the hint.

      I was looking at the docs many times, but i didn't mentioned, there is a property "textAlign". I was always looking for "Align" and wondered, why i does not work.

      Setting "textAlign" to
      Code:
      DateItem.setTextAlign(Alignment.LEFT);
      works perfectly.


      THX Major

      Comment

      Working...
      X