summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/mainwindow.cpp1
-rw-r--r--src/gui/stylepalette.ui2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp
index 4525aef..f9743a1 100644
--- a/src/gui/mainwindow.cpp
+++ b/src/gui/mainwindow.cpp
@@ -37,6 +37,7 @@ MainWindow::MainWindow(QWidget *parent) :
_stylePalette = new StylePalette(this);
addDockWidget(Qt::RightDockWidgetArea, _stylePalette);
+ resizeDocks({_stylePalette}, {130}, Qt::Horizontal);
_tikzScene = new TikzScene(_tikzDocument, _toolPalette, _stylePalette, this);
ui->tikzView->setScene(_tikzScene);
diff --git a/src/gui/stylepalette.ui b/src/gui/stylepalette.ui
index 10e7392..681d83e 100644
--- a/src/gui/stylepalette.ui
+++ b/src/gui/stylepalette.ui
@@ -24,7 +24,7 @@
</property>
<property name="maximumSize">
<size>
- <width>130</width>
+ <width>400</width>
<height>524287</height>
</size>
</property>