Skip to content

Commit

Permalink
Investigating #543
Browse files Browse the repository at this point in the history
Changed log level of dimensions error message to `trace`
  • Loading branch information
jarvisteach committed May 18, 2019
1 parent a4cab64 commit 9a75951
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion appJar/appjar.py
Expand Up @@ -2342,7 +2342,7 @@ def setSize(self, geom, height=None, ignoreSettings=None):
# warn the user that their geom is not big enough
dims = gui.GET_DIMS(container)
if geom[0] < dims["b_width"] or geom[1] < dims["b_height"]:
self.warn("Specified dimensions (%s, %s) less than requested dimensions (%s, %s)",
self.trace("Specified dimensions (%s, %s) less than requested dimensions (%s, %s)",
geom[0], geom[1], dims["b_width"], dims["b_height"])

# and set it as the minimum size
Expand Down
1 change: 1 addition & 0 deletions examples/issues/issue543.py
Expand Up @@ -8,6 +8,7 @@

app.startSubWindow('progress', modal=True)
app.setSize('400x25')
print("size set to 400x25")
app.setResizable(False)
app.setOnTop(stay=True)
app.setStretch('both')
Expand Down

0 comments on commit 9a75951

Please sign in to comment.