forked from qt-creator/qt-creator
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:
committed by
Tobias Hunger
parent
737c327fd1
commit
b9597d402d
@@ -13,31 +13,31 @@
|
|||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Subversion Submit</string>
|
<string>Subversion Submit</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
<layout class="QVBoxLayout" name="vboxLayout">
|
||||||
<item>
|
<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">
|
<property name="orientation">
|
||||||
<enum>Qt::Horizontal</enum>
|
<enum>Qt::Horizontal</enum>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="verticalLayoutWidget">
|
<widget class="QGroupBox" name="descriptionBox">
|
||||||
<layout class="QVBoxLayout" name="vboxLayout">
|
<property name="title">
|
||||||
|
<string>Descriptio&n</string>
|
||||||
|
</property>
|
||||||
|
<property name="flat">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<layout class="QVBoxLayout" name="descriptionLayout">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QGroupBox" name="descriptionBox">
|
<widget class="Utils::CompletingTextEdit" name="description">
|
||||||
<property name="title">
|
<property name="acceptRichText">
|
||||||
<string>Descriptio&n</string>
|
<bool>false</bool>
|
||||||
</property>
|
</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>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
@@ -95,6 +95,12 @@
|
|||||||
<extends>QTextEdit</extends>
|
<extends>QTextEdit</extends>
|
||||||
<header location="global">utils/completingtextedit.h</header>
|
<header location="global">utils/completingtextedit.h</header>
|
||||||
</customwidget>
|
</customwidget>
|
||||||
|
<customwidget>
|
||||||
|
<class>Core::MiniSplitter</class>
|
||||||
|
<extends>QSplitter</extends>
|
||||||
|
<header location="global">coreplugin/minisplitter.h</header>
|
||||||
|
<container>1</container>
|
||||||
|
</customwidget>
|
||||||
</customwidgets>
|
</customwidgets>
|
||||||
<resources/>
|
<resources/>
|
||||||
<connections/>
|
<connections/>
|
||||||
|
Reference in New Issue
Block a user