Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

text_line_space01 does not seem to work with toggle state #571

Open
smcgann99 opened this issue Nov 8, 2023 · 0 comments
Open

text_line_space01 does not seem to work with toggle state #571

smcgann99 opened this issue Nov 8, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@smcgann99
Copy link

smcgann99 commented Nov 8, 2023

Perform all steps below and tick them with [x]

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

Describe the bug

text_line_space01 does not have any effect when a button is toggled

To Reproduce

Provide a small, independent code sample that can be used to reproduce the issue.
Format the code like this:

    "page": 3,
    "id": 1,
    "obj": "btn",
    "w": 150,
    "h": 110,
    "x": 330,
    "y": 136,
    "text": "\n",
    "value_str": "Pump",
    "groupid": 2,
    "toggle": 1,
    "text_color01": "#dea031",
    "bg_color01": "#404040",
    "text_line_space": -20,
    "text_line_space01": -40,
    "border_side01": 2,
    "border_color01": "#5d5d5d",
    "value_ofs_y": 26,
    "value_ofs_y01": 36,
    "value_color01": "#a4a4a4",
    "bg_color": "#515151",
    "bg_opa": 255,
    "border_opa": 255,
    "border_side": 1,
    "border_width": 11,
    "border_color": "#393939",
    "radius": 8,
    "text_font": 58,
    "text_color": "#bfbfbf",
    "value_font": 30,
    "value_color": "#bfbfbf"
}

Expected behavior

In the example above when the button is toggled on the icon should move down.

Screenshots or video

https://discord.com/channels/538814618106331137/692393568266092617/1171594781873410088

@smcgann99 smcgann99 added the bug Something isn't working label Nov 8, 2023
@smcgann99 smcgann99 changed the title text_line_space01 and border_side01 do not seem to work. text_line_space01 does not seem to work with toggle state Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant