Skip to content

value_align doesn't work on bar object #876

@plord12

Description

@plord12

Perform all steps below and tick them with [x]

  • Check the related part of the Documentation
  • Update openHASP to the latest version
  • Reproduce the issue and describe all steps

Describe the bug

value_align doesn't work on bar object

To Reproduce

With the following design -

{"id":1,"obj":"bar","x":50,"y":90,"w":160,"h":40,"val":50,"value_str":"center","value_align":"center"}                                                                                                                                                                                                  
{"id":2,"obj":"bar","x":50,"y":190,"w":160,"h":40,"val":50,"value_str":"left","value_align":"left"}                                                                                                                                                                                                     
{"id":3,"obj":"bar","x":50,"y":290,"w":160,"h":40,"val":50,"value_str":"right","value_align":"right"}    

The value in the bar is not aligned.

Expected behavior

value should be aligned as per docs https://www.openhasp.com/0.7.0/design/styling/?h=value_align#value

Screenshots or video

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions