Using two splitters instead of one to make positioning easier.

This commit is contained in:
Veronica K. B. Olsen
2019-05-18 19:33:18 +02:00
parent 7668de961a
commit ccca604037
5 changed files with 34 additions and 19 deletions
+2 -1
View File
@@ -70,7 +70,8 @@ def testConfigSetMainPanePos(nwTemp,nwRef):
refConf = path.join(nwRef, "novelwriter.conf")
assert theConf.setMainPanePos([0, 0])
assert theConf.confChanged
assert theConf.setMainPanePos([300, 400, 400])
assert theConf.setMainPanePos([300, 800])
assert theConf.setDocPanePos([400, 400])
assert theConf.saveConfig()
assert cmpFiles(tmpConf, refConf, [2])
assert not theConf.confChanged