File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
internal/compiler/widgets/fluent Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ export component ScrollView {
186186 width : 14px ;
187187 x : flickable.width + flickable.x - self .width;
188188 y : flickable.y;
189- height : flickable .height - horizontal-bar.height;
189+ height : horizontal-bar.visible ? parent .height - horizontal-bar.height : parent .height;
190190 horizontal : false ;
191191 maximum : flickable.viewport-height - flickable.height;
192192 page-size : flickable.height;
@@ -196,7 +196,7 @@ export component ScrollView {
196196
197197 horizontal-bar := ScrollBar {
198198 enabled : root .enabled;
199- width : flickable .width - vertical-bar.width;
199+ width : vertical-bar.visible ? parent .width - vertical-bar.width : parent .width;
200200 height : 14px ;
201201 y : flickable.height + flickable.y - self .height;
202202 x : flickable.x;
You can’t perform that action at this time.
0 commit comments