Skip to content

Border styling props in Stack, Text, Image and IFrame allow either single value or a list#68

Merged
FeodorFitsner merged 2 commits intomainfrom
border-props
Feb 19, 2022
Merged

Border styling props in Stack, Text, Image and IFrame allow either single value or a list#68
FeodorFitsner merged 2 commits intomainfrom
border-props

Conversation

@FeodorFitsner
Copy link
Copy Markdown
Contributor

Border styling props in Stack, Text, Image and IFrame allow either single value or a list

  • border_style
  • border_color
  • border_width
  • border_radius

For example:

stack.border_style = "solid" # all sides have a solid border
stack.border_style = ["solid", "dashed"] # top and bottom are solid; left and right - dashed
stack.border_style = ["none", "none", "solid", "none"] # only bottom border is solid

@FeodorFitsner FeodorFitsner merged commit 6f6aac6 into main Feb 19, 2022
@FeodorFitsner FeodorFitsner deleted the border-props branch February 19, 2022 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant