Skip to content

Commit

Permalink
fix #116156: buttons don't render properly on HDPI screens
Browse files Browse the repository at this point in the history
  • Loading branch information
Jojo-Schmitz committed Jun 23, 2016
1 parent 8e8c277 commit 3695e6a
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 8 deletions.
8 changes: 7 additions & 1 deletion mscore/harmonyedit.ui
Expand Up @@ -98,7 +98,13 @@
</widget>
</item>
<item>
<widget class="QPushButton" name="fileButton">
<widget class="QToolButton" name="fileButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string notr="true"/>
</property>
Expand Down
16 changes: 13 additions & 3 deletions mscore/instrwizard.ui
Expand Up @@ -160,7 +160,11 @@
<string>Up</string>
</property>
<property name="text">
<string>Up</string>
<string notr="true"/>
</property>
<property name="icon">
<iconset resource="musescore.qrc">
<normaloff>:/data/icons/arrow_up.svg</normaloff>:/data/icons/arrow_up.svg</iconset>
</property>
</widget>
</item>
Expand All @@ -176,7 +180,11 @@
<string>Down</string>
</property>
<property name="text">
<string>Down</string>
<string notr="true"/>
</property>
<property name="icon">
<iconset resource="musescore.qrc">
<normaloff>:/data/icons/arrow_down.svg</normaloff>:/data/icons/arrow_down.svg</iconset>
</property>
</widget>
</item>
Expand Down Expand Up @@ -293,6 +301,8 @@
<tabstop>linkedButton</tabstop>
<tabstop>partiturList</tabstop>
</tabstops>
<resources/>
<resources>
<include location="musescore.qrc"/>
</resources>
<connections/>
</ui>
12 changes: 12 additions & 0 deletions mscore/measureproperties.ui
Expand Up @@ -444,6 +444,12 @@
</property>
<item>
<widget class="QToolButton" name="previousButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Go to previous measure</string>
</property>
Expand All @@ -458,6 +464,12 @@
</item>
<item>
<widget class="QToolButton" name="nextButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Go to next measure</string>
</property>
Expand Down
8 changes: 4 additions & 4 deletions mscore/toolbarEditor.ui
Expand Up @@ -93,7 +93,7 @@
<item row="2" column="3">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QPushButton" name="add">
<widget class="QToolButton" name="add">
<property name="text">
<string notr="true"/>
</property>
Expand All @@ -104,7 +104,7 @@
</widget>
</item>
<item>
<widget class="QPushButton" name="remove">
<widget class="QToolButton" name="remove">
<property name="text">
<string notr="true"/>
</property>
Expand All @@ -115,7 +115,7 @@
</widget>
</item>
<item>
<widget class="QPushButton" name="up">
<widget class="QToolButton" name="up">
<property name="text">
<string notr="true"/>
</property>
Expand All @@ -126,7 +126,7 @@
</widget>
</item>
<item>
<widget class="QPushButton" name="down">
<widget class="QToolButton" name="down">
<property name="text">
<string/>
</property>
Expand Down

0 comments on commit 3695e6a

Please sign in to comment.