Skip to content

Commit

Permalink
feat: set canvas scale and frameStayle
Browse files Browse the repository at this point in the history
  • Loading branch information
merydian committed Aug 23, 2024
1 parent d4d0c2d commit 3eea5c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ def test_ORStoolsDialog(self):
CRS = QgsCoordinateReferenceSystem.fromEpsgId(3857)
CANVAS.setExtent(QgsRectangle(258889, 7430342, 509995, 7661955))
CANVAS.setDestinationCrs(CRS)
CANVAS.setFrameStyle(0)
CANVAS.resize(600, 400)
self.assertEqual(CANVAS.width(), 600)
self.assertEqual(CANVAS.height(), 400)

dlg = ORStoolsDialog(IFACE)
dlg.open()
Expand Down

0 comments on commit 3eea5c0

Please sign in to comment.