-
-
Notifications
You must be signed in to change notification settings - Fork 258
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug description
Whenever I add a button object and set the align attribute to "left" the text still aligns in the center. I'm using openHASP 0.7.0-rc12 on a Tuya display
To Reproduce
Using the following json to create a button (doesn't matter if it's on page 0, 1 or whatever).
{"page":0,"id":1,"obj":"btn","x":10,"y":12,"w":300,"h":40,"border_side":0,"text":"\uE6A1 Title","text_font":38,"align":"left","bg_color":"#EFD4FB","bg_grad_color":"#EFD4FB","bg_grad_dir":0,"text_color":"#5A4095","action":"p1"}
I have also tried "align": 7, "text_align", "value_align".
Expected behavior
The text in the button should align to the left
Screenshots or video
Here I added the border to show the width of the element.Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working