RESOLVED FIXED 87007
Web Inspector: Fix spacing on Settings screen and Shortcuts screen.
https://bugs.webkit.org/show_bug.cgi?id=87007
Summary Web Inspector: Fix spacing on Settings screen and Shortcuts screen.
eustas.bug
Reported 2012-05-21 04:56:30 PDT
Created attachment 142998 [details] Screenshot: fixed Settings screen Checkbox seems to be improperly aligned. It is "shifted" up on 1px on Mac and 2px on Linux. Also, keyboard-shortcuts screen has "wrapped" key descriptions on Mac.
Attachments
Screenshot: fixed Settings screen (419.03 KB, image/png)
2012-05-21 04:56 PDT, eustas.bug
no flags
Screenshot: fixed keyboard shortcuts screen (440.72 KB, image/png)
2012-05-21 04:57 PDT, eustas.bug
no flags
Screenshot: misaligned checkboxes in settings (94.39 KB, image/png)
2012-05-21 05:02 PDT, eustas.bug
no flags
Screenshot: wrapped keyboard shortcuts (174.24 KB, image/png)
2012-05-21 05:03 PDT, eustas.bug
no flags
Patch (3.67 KB, patch)
2012-05-21 05:15 PDT, eustas.bug
no flags
Patch (3.32 KB, patch)
2012-05-22 05:07 PDT, eustas.bug
pfeldman: review+
Patch (3.52 KB, patch)
2012-05-31 06:06 PDT, eustas.bug
yurys: review+
eustas.bug
Comment 1 2012-05-21 04:57:12 PDT
Created attachment 142999 [details] Screenshot: fixed keyboard shortcuts screen
eustas.bug
Comment 2 2012-05-21 05:02:07 PDT
Created attachment 143001 [details] Screenshot: misaligned checkboxes in settings
eustas.bug
Comment 3 2012-05-21 05:03:24 PDT
Created attachment 143002 [details] Screenshot: wrapped keyboard shortcuts
eustas.bug
Comment 4 2012-05-21 05:15:59 PDT
Early Warning System Bot
Comment 5 2012-05-21 05:40:30 PDT
Csaba Osztrogonác
Comment 6 2012-05-21 06:02:41 PDT
(In reply to comment #5) > (From update of attachment 143006 [details]) > Attachment 143006 [details] did not pass qt-ews (qt): > Output: http://queues.webkit.org/results/12732614 Sorry, it was false positive alarm.
Pavel Feldman
Comment 7 2012-05-21 22:55:46 PDT
Comment on attachment 143006 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=143006&action=review > Source/WebCore/inspector/front-end/helpScreen.css:125 > + -webkit-column-width: 470px; Why do we need so many non-mac specifics? I thought this patch was about the checkboxes align.
eustas.bug
Comment 8 2012-05-21 23:32:42 PDT
(In reply to comment #7) > (From update of attachment 143006 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=143006&action=review > > > Source/WebCore/inspector/front-end/helpScreen.css:125 > > + -webkit-column-width: 470px; > > Why do we need so many non-mac specifics? I thought this patch was about the checkboxes align. I've noticed severe spacing issue on shortcuts screen and fixed it alongside with checkbox alignment (please see screenshots and description). I'll change bug title. About non-mac specific: what is preferable?: 1) override values from general rules with mac-specific values 2) explicitly specify platform-dependent values in distinct rules. If first, I'll revert these "non-mac" rules.
Pavel Feldman
Comment 9 2012-05-21 23:40:35 PDT
> About non-mac specific: what is preferable?: > 1) override values from general rules with mac-specific values > 2) explicitly specify platform-dependent values in distinct rules. > > If first, I'll revert these "non-mac" rules. Why is Mac so different? I was under the impression that web is the same for everybody :)
eustas.bug
Comment 10 2012-05-21 23:52:35 PDT
(In reply to comment #9) > > About non-mac specific: what is preferable?: > > 1) override values from general rules with mac-specific values > > 2) explicitly specify platform-dependent values in distinct rules. > > > > If first, I'll revert these "non-mac" rules. > > Why is Mac so different? I was under the impression that web is the same for everybody :) Mac has times more compact (but less readable) shortcuts visualization. That is why user sees a lot of empty space to the left of shortcuts column. Also, Inspector uses another font on Mac (and font metrics differ from non-mac font metrics).
eustas.bug
Comment 11 2012-05-22 05:07:35 PDT
eustas.bug
Comment 12 2012-05-22 05:08:35 PDT
(In reply to comment #0) > Created an attachment (id=142998) [details] > Screenshot: fixed Settings screen > > Checkbox seems to be improperly aligned. It is "shifted" up on 1px on Mac and 2px on Linux. > > Also, keyboard-shortcuts screen has "wrapped" key descriptions on Mac. Radio controls are also "shifted" up on 1px on Mac and 2px on Linux.
eustas.bug
Comment 13 2012-05-31 06:06:37 PDT
eustas.bug
Comment 14 2012-05-31 06:09:52 PDT
Rebased. +fixed spacing between close button and tabs on mac
Andrey Kosyakov
Comment 15 2012-05-31 07:08:47 PDT
Note You need to log in before you can comment on or make changes to this bug.