Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamila San <hello@camila.codes>2018-07-26 15:43:21 +0300
committerCamila San <hello@camila.codes>2018-08-02 20:57:16 +0300
commitb14aa11c290894d1f796be9b2ca54278e5d8ae78 (patch)
treecc671ce07deec787c60f101f5331ca49e507340d /src/gui/shareusergroupwidget.ui
parenta19904657a87d5b6690b15b79f9385f8452310b8 (diff)
Changes share link layout so it looks like the UI on the server.
- Adds icons to Share link and to save password on share dialog. - Changes wording of the menu options for sharing link. - Adds functionality to the new menu (mostly permissions). - More widget size and size policy adjustments. Signed-off-by: Camila San <hello@camila.codes>
Diffstat (limited to 'src/gui/shareusergroupwidget.ui')
-rw-r--r--src/gui/shareusergroupwidget.ui29
1 files changed, 19 insertions, 10 deletions
diff --git a/src/gui/shareusergroupwidget.ui b/src/gui/shareusergroupwidget.ui
index bf3cc2af3..0ca85c7c9 100644
--- a/src/gui/shareusergroupwidget.ui
+++ b/src/gui/shareusergroupwidget.ui
@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>350</width>
- <height>56</height>
+ <height>54</height>
</rect>
</property>
<property name="sizePolicy">
@@ -19,7 +19,7 @@
<property name="minimumSize">
<size>
<width>350</width>
- <height>54</height>
+ <height>52</height>
</size>
</property>
<property name="maximumSize">
@@ -73,15 +73,15 @@
<item>
<widget class="QLineEdit" name="shareeLineEdit">
<property name="sizePolicy">
- <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
+ <sizepolicy hsizetype="Fixed" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
- <width>220</width>
- <height>0</height>
+ <width>250</width>
+ <height>26</height>
</size>
</property>
<property name="maximumSize">
@@ -90,6 +90,9 @@
<height>16777215</height>
</size>
</property>
+ <property name="alignment">
+ <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
+ </property>
<property name="placeholderText">
<string>Share with users or groups ...</string>
</property>
@@ -98,14 +101,14 @@
<item>
<widget class="QToolButton" name="permissionToolButton">
<property name="sizePolicy">
- <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
- <width>130</width>
+ <width>98</width>
<height>26</height>
</size>
</property>
@@ -115,8 +118,14 @@
<height>16777215</height>
</size>
</property>
+ <property name="layoutDirection">
+ <enum>Qt::LeftToRight</enum>
+ </property>
<property name="text">
- <string>...</string>
+ <string>can edit</string>
+ </property>
+ <property name="popupMode">
+ <enum>QToolButton::MenuButtonPopup</enum>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextOnly</enum>
@@ -139,7 +148,7 @@
<property name="minimumSize">
<size>
<width>350</width>
- <height>0</height>
+ <height>26</height>
</size>
</property>
<property name="maximumSize">
@@ -198,7 +207,7 @@
<bool>true</bool>
</property>
<property name="margin">
- <number>5</number>
+ <number>0</number>
</property>
<property name="indent">
<number>0</number>