mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
networkAgent: Don't allow ellipsization of Password label
We don't want password entries to grow when entering more characters that fit the available width; as labels' ClutterText ellipsizes by default, the password labels allow entries to grow by shrinking. Setting the appropriate ellipsize mode fixes this. https://bugzilla.gnome.org/show_bug.cgi?id=708324
This commit is contained in:
parent
30e7440851
commit
39134f0d9b
1 changed files with 1 additions and 0 deletions
|
|
@ -83,6 +83,7 @@ const NetworkSecretDialog = new Lang.Class({
|
|||
let secret = this._content.secrets[i];
|
||||
let label = new St.Label({ style_class: 'prompt-dialog-password-label',
|
||||
text: secret.label });
|
||||
label.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;
|
||||
|
||||
let reactive = secret.key != null;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue