Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(551)

Issue 2827653004: Fix tab width and icon padding in CBD (Closed)

Created:
3 years, 8 months ago by dullweber
Modified:
3 years, 8 months ago
Reviewers:
Theresa
CC:
chromium-reviews, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix tab width and icon padding in CBD Change TabLayout to use the full width of the screen even in landscape orientation and on larger screens. Increase the padding of preference icons to match the padding of "Time range". (like SiteSettingsPreference) Before: https://screenshot.googleplex.com/BZvpCHXTHqf.png After: https://screenshot.googleplex.com/ZOPvbyXz0AV.png BUG=681523 Review-Url: https://codereview.chromium.org/2827653004 Cr-Commit-Position: refs/heads/master@{#465954} Committed: https://chromium.googlesource.com/chromium/src/+/827d8ad5f022cbc1a904a159f0041b5fc5afca6c

Patch Set 1 #

Patch Set 2 : fix padding in RTL direction #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -6 lines) Patch
M chrome/android/java/res/layout/clear_browsing_data_tabs.xml View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/java/res/values/dimens.xml View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/ClearBrowsingDataTabCheckBoxPreference.java View 1 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SiteSettingsPreference.java View 1 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
dullweber
twellington@chromium.org: Please review this change. I don't know, why site_setttings_icon_padding was exactly 4.6dp but I ...
3 years, 8 months ago (2017-04-19 11:21:37 UTC) #3
Theresa
On 2017/04/19 11:21:37, dullweber wrote: > mailto:twellington@chromium.org: Please review this change. > > I don't ...
3 years, 8 months ago (2017-04-19 15:04:05 UTC) #5
dullweber
On 2017/04/19 15:04:05, Theresa wrote: > On 2017/04/19 11:21:37, dullweber wrote: > > mailto:twellington@chromium.org: Please ...
3 years, 8 months ago (2017-04-19 15:58:42 UTC) #7
Theresa
lgtm
3 years, 8 months ago (2017-04-19 17:06:44 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2827653004/1
3 years, 8 months ago (2017-04-20 08:02:19 UTC) #11
dullweber
On 2017/04/19 17:06:44, Theresa wrote: > lgtm thanks, I just noticed that the padding isn't ...
3 years, 8 months ago (2017-04-20 08:21:56 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2827653004/20001
3 years, 8 months ago (2017-04-20 08:23:01 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/827d8ad5f022cbc1a904a159f0041b5fc5afca6c
3 years, 8 months ago (2017-04-20 09:00:59 UTC) #18
Theresa
3 years, 8 months ago (2017-04-20 14:48:44 UTC) #19
Message was sent while issue was closed.
On 2017/04/20 08:21:56, dullweber wrote:
> On 2017/04/19 17:06:44, Theresa wrote:
> > lgtm
> 
> thanks, I just noticed that the padding isn't applied correctly with RTL text
> direction, so I replaced icon.setPadding with
> ApiCompatibilityUtils.setPaddingRelative in CBDTabCheckboxPreference and
> SiteSettingsPreference.

Good catch, I should have noticed that.

Powered by Google App Engine
This is Rietveld 408576698