Skip to content
Snippets Groups Projects
Commit e7fa5917 authored by Dilawar Singh's avatar Dilawar Singh
Browse files

Squashed 'moose-gui/' changes from 5d7f7633f5..92dd345eb5

92dd345eb5  clean up

git-subtree-dir: moose-gui
git-subtree-split: 92dd345eb549c51dfd6a007675d09f214103d416
parent 0e72b330
No related branches found
No related tags found
No related merge requests found
......@@ -448,6 +448,8 @@ class KineticsWidget(EditorWidgetBase):
autoCoordinates(self.meshEntry,self.srcdesConnection)
self.size = QtCore.QSize(1000 ,550)
'''
if self.xmax-self.xmin != 0:
self.xratio = (self.size.width()-10)/(self.xmax-self.xmin)
else: self.xratio = self.size.width()-10
......@@ -462,7 +464,7 @@ class KineticsWidget(EditorWidgetBase):
self.xratio = 1
if self.yratio == 0:
self.yratio = 1
'''
def sizeHint(self):
return QtCore.QSize(800,400)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment