Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: debugger/QT/SkDebuggerGUI.cpp

Issue 830743002: debugger: Make inspector widget smaller (Closed) Base URL: https://skia.googlesource.com/skia.git@debugger-resize-02-drawop-view-resize
Patch Set: address review comments Created 5 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | debugger/QT/SkInspectorWidget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: debugger/QT/SkDebuggerGUI.cpp
diff --git a/debugger/QT/SkDebuggerGUI.cpp b/debugger/QT/SkDebuggerGUI.cpp
index 05f488661668b1ca28840ef1354102f0057ab96c..cb8ae1046ec3c0e7f81198116e21d7769c455e89 100644
--- a/debugger/QT/SkDebuggerGUI.cpp
+++ b/debugger/QT/SkDebuggerGUI.cpp
@@ -609,10 +609,6 @@ void SkDebuggerGUI::setupUi(QMainWindow *SkDebuggerGUI) {
fDrawCommandGeometryWidget.setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
- fInspectorWidget.setSizePolicy(QSizePolicy::Expanding,
- QSizePolicy::Expanding);
- fInspectorWidget.setMaximumHeight(300);
-
fSettingsAndImageLayout.addWidget(&fSettingsWidget);
// View state group, part of inspector.
@@ -654,8 +650,8 @@ void SkDebuggerGUI::setupUi(QMainWindow *SkDebuggerGUI) {
fCanvasSettingsAndImageLayout.addLayout(&fSettingsAndImageLayout, 0);
fMainAndRightColumnLayout.setSpacing(6);
- fMainAndRightColumnLayout.addLayout(&fCanvasSettingsAndImageLayout);
- fMainAndRightColumnLayout.addWidget(&fInspectorWidget);
+ fMainAndRightColumnLayout.addLayout(&fCanvasSettingsAndImageLayout, 1);
+ fMainAndRightColumnLayout.addWidget(&fInspectorWidget, 0);
fMainAndRightColumnWidget.setLayout(&fMainAndRightColumnLayout);
fCentralSplitter.addWidget(&fLeftColumnSplitter);
« no previous file with comments | « no previous file | debugger/QT/SkInspectorWidget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698