Commit b9597d40 authored by Eike Ziller's avatar Eike Ziller Committed by Tobias Hunger
Browse files

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's avatarOrgad Shaneh <orgads@gmail.com>
Reviewed-by: default avatarAndré Hartmann <aha_1980@gmx.de>
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 737c327f
......@@ -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>
</property>
<property name="flat">
<bool>true</bool>
<widget class="Utils::CompletingTextEdit" name="description">
<property name="acceptRichText">
<bool>false</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/>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment