[GTK] Improve frame top area padding
When using native GTK frame buttons, we only want the padding returned by NavButtonProvider::GetTopAreaSpacing() to apply to the side(s) that actually have frame buttons on them, otherwise the padding on a tab that is adjacent to the frame edge will depend on which GTK theme is used, rather than being constant across all themes. BUG=None R=pkasting Change-Id: Ibf5bb40c0d51d6387ca2b21abc54b1adad8f69b0 Reviewed-on: https://chromium-review.googlesource.com/c/1287261 Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Reviewed-by:Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#611939}
Showing
Please register or sign in to comment