-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1381815 - fixing dimensions of radio and checkbox for GTK 3.20+; …
…r=karlt In the GTK < 3.20 the size of radio and checkbox toggle is determined by indicator spacing and indicator size. By GTK 3.20+ it is replaced by standard box model (padding, margin, border). The patch fixes that while keeping the functionality for older GTK. The values are also cached by similar way as scrollbar metrics are cached now. The focus is no longer rendered by GTK but by Mozilla code, so the extra size for toggles has been removed from GetExtraSizeForWidget and toggles no longer render focus indicator. MozReview-Commit-ID: 1Wg5AgHy1Vz --HG-- extra : rebase_source : 81437f45b7d32555942d21fccc9de4a561d85111
- Loading branch information
Showing
3 changed files
with
107 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters