GNOME Bugzilla – Bug 658469
Login dialog keeps growing when pressing up/down arrows
Last modified: 2011-09-18 03:26:15 UTC
If I press up/down arrows to change the selected user, the login dialog keeps getting wider.
*** Bug 659259 has been marked as a duplicate of this bug. ***
Created attachment 196845 [details] [review]
loginDialog: subtract padding when drawing focus line
If there's no scrollbar in the user list it grows as the
user arrows around. This is because it wasn't taking
padding into account when computing its destination size.
Review of attachment 196845 [details] [review]:
Makes sense just one minor nitpick, fine to commit with that fixed.
@@ +249,3 @@
+ let node = this.actor.get_theme_node();
+ let padding = node.get_padding(St.Side.LEFT) + node.get_padding(St.Side.RIGHT);
Should just use get_horizontal_padding().
pushed with suggested change
Attachment 196845 [details] pushed as 8466198 - loginDialog: subtract padding when drawing focus line