Skip to content

userWidget: Fix avatar size

Florian Müllner requested to merge wip/fmuellner/scale-avatars into master

The texture cache now returns an actor with an appropriate ClutterContent rather than a ClutterTexture. That actor uses the CONTENT_SIZE request mode, which means that it will unconditionally request the preferred size of the content. That is, setting an explicit size no longer has an effect.

Fix this by making sure the image is already loaded with the desired dimensions.

Fixes #1024 (closed)

Merge request reports