userWidget: Actually respect the iconSize parameter
The iconSize parameter was only being respected if it was the default icon fallback. https://bugzilla.gnome.org/show_bug.cgi?id=706681
This commit is contained in:
parent
e4d46aee97
commit
1a415d5fa7
@ -2244,8 +2244,6 @@ StScrollBar StButton#vhandle:active {
|
|||||||
.framed-user-icon {
|
.framed-user-icon {
|
||||||
border: 2px solid #8b8b8b;
|
border: 2px solid #8b8b8b;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
width: 48pt;
|
|
||||||
height: 48pt;
|
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,7 +29,9 @@ const Avatar = new Lang.Class({
|
|||||||
|
|
||||||
this.actor = new St.Bin({ style_class: params.styleClass,
|
this.actor = new St.Bin({ style_class: params.styleClass,
|
||||||
track_hover: params.reactive,
|
track_hover: params.reactive,
|
||||||
reactive: params.reactive });
|
reactive: params.reactive,
|
||||||
|
width: this._iconSize,
|
||||||
|
height: this._iconSize });
|
||||||
},
|
},
|
||||||
|
|
||||||
setSensitive: function(sensitive) {
|
setSensitive: function(sensitive) {
|
||||||
|
Loading…
Reference in New Issue
Block a user