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

Unified Diff: debugger/QT/SkInspectorWidget.h

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 | « debugger/QT/SkDebuggerGUI.cpp ('k') | debugger/QT/SkInspectorWidget.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: debugger/QT/SkInspectorWidget.h
diff --git a/debugger/QT/SkInspectorWidget.h b/debugger/QT/SkInspectorWidget.h
index 96a6da38e17bb3b8ec764642f211f3c0f4fa1da8..7adf84fd709ef5b1c9ca0f67a6d89225cbf352f4 100644
--- a/debugger/QT/SkInspectorWidget.h
+++ b/debugger/QT/SkInspectorWidget.h
@@ -18,6 +18,8 @@
#include <QHBoxLayout>
#include <QLabel>
#include <QLineEdit>
+#include <QGroupBox>
+#include <QGridLayout>
/** \class SkInspectorWidget
@@ -71,8 +73,6 @@ public:
Tab(const char* name) {
fTabText.setReadOnly(true);
- fTabLayout.setSpacing(6);
- fTabLayout.setContentsMargins(11, 11, 11, 11);
fTabLayout.addWidget(&fTabText);
fTab.setLayout(&fTabLayout);
fName = QString(name);
@@ -87,21 +87,19 @@ private:
QHBoxLayout fTabLayouts[kTotalTabCount];
QTextEdit fTabTexts[kTotalTabCount];
- QWidget fMatrixAndClipWidget;
+ QFrame fMatrixAndClipWidget;
QVBoxLayout fVerticalLayout;
- QLabel fMatrixLabel;
- QVBoxLayout fMatrixLayout;
- QHBoxLayout fMatrixRow[3];
+ QGroupBox fMatrixGroup;
+ QGridLayout fMatrixLayout;
QLineEdit fMatrixEntry[9];
- QLabel fClipLabel;
- QVBoxLayout fClipLayout;
- QHBoxLayout fClipRow[2];
+ QGroupBox fClipGroup;
+ QGridLayout fClipLayout;
QLineEdit fClipEntry[4];
- QVBoxLayout* setupMatrix();
- QVBoxLayout* setupClip();
+ void setupMatrix();
+ void setupClip();
};
#endif
« no previous file with comments | « debugger/QT/SkDebuggerGUI.cpp ('k') | debugger/QT/SkInspectorWidget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698