Skip to content

Commit

Permalink
Merge pull request #115 from zopefoundation/lregebro-none-color
Browse files Browse the repository at this point in the history
Accept None for label box colors
  • Loading branch information
regebro committed Apr 7, 2023
2 parents 6e1a2fd + b483687 commit eb55f6f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/z3c/rml/chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ class ILabelBase(interfaces.IRMLDirectiveSignature):
boxStrokeColor = attr.Color(
title='Box Stroke Color',
description=('The color of the box border line.'),
acceptNone=True,
required=False)

boxStrokeWidth = attr.Measurement(
Expand All @@ -303,6 +304,7 @@ class ILabelBase(interfaces.IRMLDirectiveSignature):
boxFillColor = attr.Color(
title='Box Fill Color',
description=('The color in which the box is filled.'),
acceptNone=True,
required=False)

boxTarget = attr.Text(
Expand Down

0 comments on commit eb55f6f

Please sign in to comment.