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
@@ -4,7 +4,8 @@ timestamp = 2019-05-18 15:06:44
[Sizes]
geometry = 1100, 650
treecols = 120, 30, 50
mainpane = 300, 400, 400
mainpane = 300, 800
docpane = 400, 400
[Project]
autosaveproject = 60
+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