Skip to content

[BasicUI] Switch items’s values can go out of screen #3478

@dilyanpalauzov

Description

@dilyanpalauzov

I define two items

Switch a
Switch b

a map transformation openhab/transform/b.map

ON=0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n
OFF=a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N

and a sitemap:

sitemap a label="A" {
  Text item=a
  Text item=a
  Switch item=b label="I am soo good switch [MAP(b.map):%s]"
  Switch item=b label="I am soo good switch [MAP(b.map):%s]"
}

When I set a value for b, use three columns for rendering, and then load the sitemap, on the first load in the first line the toggle is not shown in the view port:

Image

Once I switch the toggle, the toggle on the first line is shown, but everything moves to the left and then the start of the line is not visible.

Image

Both screen shots above show area left and right - that is outside - of the browser. There are no horizontal scrollbars.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions