Skip to content

Commit

Permalink
Trying the appveyor screen resizing script
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Blumberg committed Jan 12, 2019
1 parent 91c9284 commit 9297c50
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ install:
# Install SHARPpy
- "pip install -e ."

# Resize the screen
#- nuget restore
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/set-screenresolution.ps1'))
- ps: Set-ScreenResolution 1366 768

build: off

# Turning off Test Script for now
Expand Down
1 change: 0 additions & 1 deletion sharppy/viz/skew.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ def initUI(self):
else:
fsize = 7
fsizet = 14

self.title_font = QtGui.QFont('Helvetica', fsizet + (self.hgt * 0.003))
self.title_metrics = QtGui.QFontMetrics( self.title_font )
#self.title_font.setBold(True)
Expand Down
1 change: 1 addition & 0 deletions sharppy/viz/watch.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def initUI(self):
fsize = 10
else:
fsize = 12
#fsize = 10
self.font_ratio = 0.0512
self.title_font = QtGui.QFont('Helvetica', round(self.size().height() * self.font_ratio) + 5)
self.plot_font = QtGui.QFont('Helvetica', round(self.size().height() * self.font_ratio) + 4)
Expand Down

0 comments on commit 9297c50

Please sign in to comment.