Skip to content
Snippets Groups Projects
Commit 397c580d authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QuickToolBars: tweak and fix Text ui for Mac OS X

The ComboBox needs more space on Mac OS X,
so I increased the margins in the layouts.

Task-number: QTCREATORBUG-2624
Reviewed-by: Kai Koehne
parent 3388e88a
Branches
Tags
No related merge requests found
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>230</width> <width>233</width>
<height>100</height> <height>94</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<widget class="QFontComboBox" name="fontComboBox"> <widget class="QFontComboBox" name="fontComboBox">
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>120</width> <width>140</width>
<height>16777215</height> <height>16777215</height>
</size> </size>
</property> </property>
...@@ -45,10 +45,16 @@ ...@@ -45,10 +45,16 @@
<item row="1" column="0" colspan="3"> <item row="1" column="0" colspan="3">
<layout class="QHBoxLayout" name="horizontalLayout_2"> <layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing"> <property name="spacing">
<number>0</number> <number>4</number>
</property> </property>
<item> <item>
<widget class="QToolButton" name="boldButton"> <widget class="QToolButton" name="boldButton">
<property name="minimumSize">
<size>
<width>30</width>
<height>0</height>
</size>
</property>
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
...@@ -65,6 +71,12 @@ ...@@ -65,6 +71,12 @@
</item> </item>
<item> <item>
<widget class="QToolButton" name="italicButton"> <widget class="QToolButton" name="italicButton">
<property name="minimumSize">
<size>
<width>30</width>
<height>0</height>
</size>
</property>
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
...@@ -81,6 +93,12 @@ ...@@ -81,6 +93,12 @@
</item> </item>
<item> <item>
<widget class="QToolButton" name="underlineButton"> <widget class="QToolButton" name="underlineButton">
<property name="minimumSize">
<size>
<width>30</width>
<height>0</height>
</size>
</property>
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
...@@ -97,6 +115,12 @@ ...@@ -97,6 +115,12 @@
</item> </item>
<item> <item>
<widget class="QToolButton" name="strikeoutButton"> <widget class="QToolButton" name="strikeoutButton">
<property name="minimumSize">
<size>
<width>30</width>
<height>0</height>
</size>
</property>
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
...@@ -125,7 +149,7 @@ ...@@ -125,7 +149,7 @@
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing"> <property name="spacing">
<number>0</number> <number>4</number>
</property> </property>
<item> <item>
<widget class="QToolButton" name="leftAlignmentButton"> <widget class="QToolButton" name="leftAlignmentButton">
...@@ -232,7 +256,7 @@ ...@@ -232,7 +256,7 @@
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_3"> <layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="spacing"> <property name="spacing">
<number>0</number> <number>4</number>
</property> </property>
<item> <item>
<widget class="QToolButton" name="topAlignmentButton"> <widget class="QToolButton" name="topAlignmentButton">
...@@ -310,7 +334,7 @@ ...@@ -310,7 +334,7 @@
<widget class="QComboBox" name="styleComboBox"> <widget class="QComboBox" name="styleComboBox">
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>70</width> <width>90</width>
<height>16777215</height> <height>16777215</height>
</size> </size>
</property> </property>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment