fix clickable area around volume icon

This commit is contained in:
Drew Weymouth
2023-01-11 18:59:53 -08:00
parent 4f716225d1
commit b47bf6d000
+1 -1
View File
@@ -108,7 +108,7 @@ func NewVolumeControl() *VolumeControl {
v.slider.Orientation = widget.Horizontal
v.slider.Value = 100
v.slider.OnChanged = v.onChanged
v.container = container.NewHBox(v.icon, v.slider)
v.container = container.NewHBox(container.NewCenter(v.icon), v.slider)
return v
}