Submit editor: Unclutter UI

The new layout that was supposed to give especially the files list more
space looked very unstructured with the different boxes in different sizes
everywhere.

Vertically align the description edit and file list. Even though it gives
the header much horizontal room, it has fewer visual breaks. Also use
MiniSplitter.

Change-Id: I62699d2b9e9142b9d2c3d01f29db9a3b49b79b00
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Eike Ziller
2014-12-11 12:08:08 +01:00
committed by Tobias Hunger
parent 737c327fd1
commit b9597d402d

View File

@@ -13,31 +13,31 @@
<property name="windowTitle">
<string>Subversion Submit</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<layout class="QVBoxLayout" name="vboxLayout">
<item>
<widget class="QSplitter" name="splitter">
<widget class="Core::MiniSplitter" name="splitter">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<widget class="QWidget" name="verticalLayoutWidget">
<layout class="QVBoxLayout" name="vboxLayout">
<widget class="QGroupBox" name="descriptionBox">
<property name="title">
<string>Descriptio&amp;n</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="descriptionLayout">
<item>
<widget class="QGroupBox" name="descriptionBox">
<property name="title">
<string>Descriptio&amp;n</string>
<widget class="Utils::CompletingTextEdit" name="description">
<property name="acceptRichText">
<bool>false</bool>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="descriptionLayout">
<item>
<widget class="Utils::CompletingTextEdit" name="description">
<property name="acceptRichText">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
@@ -95,6 +95,12 @@
<extends>QTextEdit</extends>
<header location="global">utils/completingtextedit.h</header>
</customwidget>
<customwidget>
<class>Core::MiniSplitter</class>
<extends>QSplitter</extends>
<header location="global">coreplugin/minisplitter.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources/>
<connections/>