1.7A 5504 label justification in stylesheet

Now that we support the use of left or right justified labels, we should provide support in default.properties for this.  ie we should add say

# label alignment (can be left or right)
label.textAlign = 'left'

and in default.stylesheet, we should change (at line 2122)

<alignment horizontal="left"/> to <alignment horizontal="$label.textAlign"/>

 

While playing with these two files we should also add the base colour support, ie to default.properties add

# base theme colour
theme.colour='#339933'

and in default.stylesheet, change all occurances of <property name="background" value="#339933"/> to <property name="background" value="$theme.colour"/>

 

[This post was prompted by me wondering how to document the left/right alignment support in the CSH text.]

Regards, Tim G
 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: 1.7A 5504 label justification in stylesheet

For reference, this change is available in 1.7. See http://www.openvpms.org/documentation/csh/1.7/reference/style-labels

Syndicate content