DescriptionFixing the gdrive sync item alignment to keep it centered.
Beside the fact that the gdrive sync item does not have the same size as all other images (17x19px instead of 25x25px), it was also not getting centered because the assigned layouter.
The layouter needs then to be switched dynamically with the shelf alignment so that the sync item gets always centered. The time view should not be changed at all for this, since it changes the layout itself already.
BUG=180462
TEST=visual: using gdrive sync and switching (before, while or after) the sync to another alignment and the items in the tray stay always centered.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217490
Patch Set 1 #
Total comments: 4
Patch Set 2 : Reduced to only change the tray_image_item #
Messages
Total messages: 6 (0 generated)
|