Bug 201090

Summary: Web Inspector: decrease horizontal padding of `WI.ScopeBar` to have more room
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, hi, inspector-bugzilla-changes, joepeck, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 201152    
Attachments:
Description Flags
[Image] Screenshot of Issue (Network)
none
[Image] Screenshot of Issue (Elements)
none
Patch
none
[Image] After Patch is applied (Network)
none
[Image] After Patch is applied (Network)
none
[Image] After Patch is applied (Elements) none

Description Devin Rousso 2019-08-23 15:07:14 PDT
Right now, the space around each item in a `WI.ScopeBar` is pretty "excessive", leading to a lot of extra whitespace that is often not used (e.g. when the filter isn't changing).  We should decrease the padding so less room is used.  This way, we'd have more room for other things =D
Comment 1 Devin Rousso 2019-08-23 15:07:28 PDT
Created attachment 377159 [details]
[Image] Screenshot of Issue (Network)
Comment 2 Devin Rousso 2019-08-23 15:07:46 PDT
Created attachment 377160 [details]
[Image] Screenshot of Issue (Elements)
Comment 3 Devin Rousso 2019-08-23 15:33:17 PDT
Created attachment 377164 [details]
Patch
Comment 4 Devin Rousso 2019-08-23 15:33:33 PDT Comment hidden (obsolete)
Comment 5 Devin Rousso 2019-08-23 15:34:22 PDT
Created attachment 377166 [details]
[Image] After Patch is applied (Network)
Comment 6 Devin Rousso 2019-08-23 15:34:39 PDT
Created attachment 377167 [details]
[Image] After Patch is applied (Elements)
Comment 7 Joseph Pecoraro 2019-08-24 14:50:44 PDT
Comment on attachment 377164 [details]
Patch

r=me - I like it. Especially in the Elements sidebar (Styles, etc). It looks a little tight in some places ("All") but most look fine.

Does this affect the `( Selected Element )` bubble in the Console? That was slightly tighter than the scope bars originally.
Comment 8 Devin Rousso 2019-08-26 12:01:25 PDT
(In reply to Joseph Pecoraro from comment #7)
> Does this affect the `( Selected Element )` bubble in the Console? That was slightly tighter than the scope bars originally.
It does not, but I actually really like it at 4px instead of 6px :P
Comment 9 WebKit Commit Bot 2019-08-26 14:59:30 PDT
Comment on attachment 377164 [details]
Patch

Clearing flags on attachment: 377164

Committed r249118: <https://trac.webkit.org/changeset/249118>
Comment 10 WebKit Commit Bot 2019-08-26 14:59:32 PDT
All reviewed patches have been landed.  Closing bug.
Comment 11 Radar WebKit Bug Importer 2019-08-26 15:02:12 PDT
<rdar://problem/54723696>