diff options
author | Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> | 2019-09-18 14:37:49 +0300 |
---|---|---|
committer | Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> | 2019-09-18 14:37:49 +0300 |
commit | 9d6780d6c10a378e05963409cc2f511b648f9f6c (patch) | |
tree | 4d74da3a2e89f1f2334d202cd0e5b733bfbc66a4 /src/gui/shareuserline.ui | |
parent | 179bbffd761292fa8fd1ebf0c17b312c92b48911 (diff) |
Finishing PR #1154 adding note when sharing
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Diffstat (limited to 'src/gui/shareuserline.ui')
-rw-r--r-- | src/gui/shareuserline.ui | 54 |
1 files changed, 32 insertions, 22 deletions
diff --git a/src/gui/shareuserline.ui b/src/gui/shareuserline.ui index d586ef161..9336b12db 100644 --- a/src/gui/shareuserline.ui +++ b/src/gui/shareuserline.ui @@ -6,35 +6,26 @@ <rect> <x>0</x> <y>0</y> - <width>350</width> - <height>45</height> + <width>360</width> + <height>58</height> </rect> </property> <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> - <horstretch>0</horstretch> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>1</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> + <property name="minimumSize"> + <size> + <width>360</width> + <height>0</height> + </size> + </property> <property name="autoFillBackground"> <bool>true</bool> </property> - <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0,2,2,2"> - <property name="spacing"> - <number>5</number> - </property> - <property name="leftMargin"> - <number>5</number> - </property> - <property name="topMargin"> - <number>5</number> - </property> - <property name="rightMargin"> - <number>5</number> - </property> - <property name="bottomMargin"> - <number>5</number> - </property> + <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QLabel" name="avatar"> <property name="sizePolicy"> @@ -57,7 +48,7 @@ <item> <widget class="OCC::ElidedLabel" name="sharedWith"> <property name="sizePolicy"> - <sizepolicy hsizetype="Ignored" vsizetype="Maximum"> + <sizepolicy hsizetype="Expanding" vsizetype="Maximum"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> @@ -71,6 +62,22 @@ </widget> </item> <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> <widget class="QCheckBox" name="permissionsEdit"> <property name="sizePolicy"> <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> @@ -89,9 +96,12 @@ <iconset resource="../../client.qrc"> <normaloff>:/client/resources/more.svg</normaloff>:/client/resources/more.svg</iconset> </property> + <property name="autoRaise"> + <bool>true</bool> + </property> </widget> </item> - </layout> + </layout> </widget> <customwidgets> <customwidget> |