measure the proper elements
Change-Id: I938abac5001c980e664ed7e5df41fdf0cacfafbc
This commit is contained in:
parent
67a64e8763
commit
b2583a9368
|
@ -43,7 +43,7 @@ ProgressBarStyle {
|
|||
preferredWidth = barSvg.elementSize("bar-inactive-left").width + barSvg.elementSize("bar-inactive-right").width
|
||||
}
|
||||
if (preferredHeight == 0) {
|
||||
preferredHeight = barSvg.elementSize("bar-inactive-top").width + barSvg.elementSize("bar-inactive-bottom").width
|
||||
preferredHeight = barSvg.elementSize("bar-inactive-top").height + barSvg.elementSize("bar-inactive-bottom").height
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user