-
-
Notifications
You must be signed in to change notification settings - Fork 319
Description
I define two items
Switch a "A"
Switch b "B"
and put them in a sitemap:
sitemap a label="A" {
Switch item=a visibility=[b==ON] staticIcon="poweroutlet"
Text item=a visibility=[b==OFF] staticIcon="poweroutlet"
Switch item=b
}
When Compact mode is OFF in OH-Android 3.17.4-beta and I toggle the b
item, I expect that the vertical position of the b
item does not change, and the first item a
is just rendered differently - as text or as switch. But the b
item goes slightly up and down. This happens even when the icons are hidden.
Moreover, during the re-rendering, the first line disappears and then appears. It would be good, if the change is instant: either the sitemap before the change is shown (Switch item=a), or the sitemap after the change (Text item=a), but nothing in between (emptly first line).