[progress Communities] [progress Openedge Abl] Forum Post: Re: Left.align Labels

  • Thread starter Thread starter Thierry Ciot
  • Start date Start date
Status
Not open for further replies.
T

Thierry Ciot

Guest
Yes indeed it is possible :) First let me say that in V4.2, you will have the option to align the labels on top of the value field. In order to support that we had to change the structure of the label and value pair so what I am going to describe will be in 2 parts: pre- V4.2 and V4.2 and greater. By default, we have a CSS rule that specifies the alignment, the rule is: .rbs-simpleField-labelContainer { text-align: end; } That rule ensures that the label is right aligned when text direction is left-to-right and aligned left when text direction is right-to-left. In both cases, you will need to override a CSS rule to specify the alignment as start (put it in custom header or custom sidebar). Here, are the rules: For version less than V4.2 : .rbs-simpleField-labelContainer { text-align: start; } For version >= V4.2 .rbs-simpleField-labelContainer-1line { text-align: start; } This and the full structure of the label/value pair should be documented in the online doc with a diagram (I remember creating the diagram). Will try to dig where in the doc that is. Thierry.

Continue reading...
 
Status
Not open for further replies.
Back
Top