Skip to content

Commit

Permalink
Mac tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sjackso committed Apr 28, 2019
1 parent 1f4f637 commit 491ce70
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/athena/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def chooseColor( self ):
self.colorChosen.emit(color)

def setColor( self, color ):
pixels = QPixmap(100, 16)
pixels = QPixmap(35, 12)
pixels.fill(color)
icon = QIcon(pixels)
self.setIcon( icon )
Expand Down
23 changes: 13 additions & 10 deletions ui/AthenaMainWindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>789</width>
<height>572</height>
<height>619</height>
</rect>
</property>
<property name="sizePolicy">
Expand Down Expand Up @@ -408,6 +408,9 @@
<property name="bottomMargin">
<number>2</number>
</property>
<property name="spacing">
<number>0</number>
</property>
<item row="0" column="1">
<widget class="QSlider" name="alphaSlider">
<property name="sizePolicy">
Expand Down Expand Up @@ -643,8 +646,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>88</width>
<height>91</height>
<width>122</width>
<height>109</height>
</rect>
</property>
<property name="sizePolicy">
Expand Down Expand Up @@ -722,8 +725,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>94</width>
<height>137</height>
<width>130</width>
<height>28</height>
</rect>
</property>
<property name="sizePolicy">
Expand Down Expand Up @@ -833,8 +836,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>94</width>
<height>181</height>
<width>131</width>
<height>233</height>
</rect>
</property>
<attribute name="label">
Expand Down Expand Up @@ -951,8 +954,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>94</width>
<height>137</height>
<width>122</width>
<height>109</height>
</rect>
</property>
<attribute name="label">
Expand Down Expand Up @@ -1055,7 +1058,7 @@
<x>0</x>
<y>0</y>
<width>789</width>
<height>21</height>
<height>22</height>
</rect>
</property>
<widget class="QMenu" name="menuAthena">
Expand Down

0 comments on commit 491ce70

Please sign in to comment.