Title: [261497] trunk/Source/WebInspectorUI
Revision
261497
Author
drou...@apple.com
Date
2020-05-11 15:38:54 -0700 (Mon, 11 May 2020)

Log Message

Web Inspector: Network: Preview: default detached window size not wide enough for navigation items to be visible
https://bugs.webkit.org/show_bug.cgi?id=211649

Reviewed by Timothy Hatcher.

* UserInterface/Views/NetworkDetailView.js:
(WI.NetworkDetailView.prototype.initialLayout):
Don't center the panel switcher radio buttons as when they are centered, there's not always
enough room for `WI.NavigationItem`s for the currently showing `WI.ContentView`. Aligning
the panel switcher radio buttons to the start allows for as much room as possible.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (261496 => 261497)


--- trunk/Source/WebInspectorUI/ChangeLog	2020-05-11 22:29:55 UTC (rev 261496)
+++ trunk/Source/WebInspectorUI/ChangeLog	2020-05-11 22:38:54 UTC (rev 261497)
@@ -1,3 +1,16 @@
+2020-05-11  Devin Rousso  <drou...@apple.com>
+
+        Web Inspector: Network: Preview: default detached window size not wide enough for navigation items to be visible
+        https://bugs.webkit.org/show_bug.cgi?id=211649
+
+        Reviewed by Timothy Hatcher.
+
+        * UserInterface/Views/NetworkDetailView.js:
+        (WI.NetworkDetailView.prototype.initialLayout):
+        Don't center the panel switcher radio buttons as when they are centered, there's not always
+        enough room for `WI.NavigationItem`s for the currently showing `WI.ContentView`. Aligning
+        the panel switcher radio buttons to the start allows for as much room as possible.
+
 2020-05-07  Nikita Vasilyev  <nvasil...@apple.com>
 
         Web Inspector: Timelines: visible outline after clicking the close X button

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/NetworkDetailView.js (261496 => 261497)


--- trunk/Source/WebInspectorUI/UserInterface/Views/NetworkDetailView.js	2020-05-11 22:29:55 UTC (rev 261496)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/NetworkDetailView.js	2020-05-11 22:38:54 UTC (rev 261497)
@@ -97,7 +97,6 @@
         // Insert all of our custom navigation items at the start of the ContentBrowser's NavigationBar.
         let index = 0;
         this._contentBrowser.navigationBar.insertNavigationItem(closeNavigationItem, index++);
-        this._contentBrowser.navigationBar.insertNavigationItem(new WI.FlexibleSpaceNavigationItem, index++);
         for (let detailNavigationItem of this._detailNavigationItemMap.values())
             this._contentBrowser.navigationBar.insertNavigationItem(detailNavigationItem, index++);
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to