0 Replies Latest reply: Dec 6, 2012 3:59 AM by 951618 RSS

    Regarding right Alignment of text in the input field

    951618
      Hi

      Iam using Jdev 11.1.2.0.0.
      Iam having input text field(Cwin) . I gave contentStyle="text-align: right;" property for that field in jsff which is aligning perfectly.
      I have one link called i use large fionts which is used for increasing font size, when iam selecting that link Focus is missing for the fields which have contentStyle="text-align: right;" property. If i give contentStyle="text-align: center;" or any other thing , focus is not missing even after selecting i use large fionts link. Please help me out, what would be the reason for this behaviour... Thanks in advance.

      My Code snippet
      <af:inputText value="#{bindings.Cwin.inputValue}"
      label="#{bindings.Cwin.hints.label}"
      required="#{bindings.Cwin.hints.mandatory}"
      columns="#{bindings.Cwin.hints.displayWidth}"
      maximumLength="#{bindings.Cwin.hints.precision}"
      simple="true"
      contentStyle="text-align:right;"
      shortDesc="#{CalwinTooltip['Cwin']}"
      helpTopicId="Cwin" autoSubmit="true"
      id="Cwin" autoComplete="off"
      valueChangeListener="#{pageFlowScope.CommonActions.invokeItemChanged}">
      <f:validator binding="#{bindings.Cwin.validator}"/>
      <f:converter converterId="CalwinConverter"/>
      </af:inputText>