Skip to content

Commit 2e3a180

Browse files
committed
merging with new gui
2 parents 283f54a + 748b3b2 commit 2e3a180

File tree

2 files changed

+706
-672
lines changed

2 files changed

+706
-672
lines changed

pgRoutingLayer.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,11 @@ def updateFunctionEnabled(self, text):
315315
# for initial display
316316
self.dock.gridLayoutSqlColumns.invalidate()
317317
self.dock.gridLayoutArguments.invalidate()
318-
318+
319+
gridLayoutSqlColumnsHeight = self.dock.gridLayoutSqlColumns.sizeHint().height()
320+
gridLayoutArgumentsHeight = self.dock.gridLayoutArguments.sizeHint().height()
321+
self.dock.splitter.setSizes([gridLayoutSqlColumnsHeight + 97, gridLayoutArgumentsHeight + 47])
322+
319323
if (not self.dock.checkBoxHasReverseCost.isChecked()) or (not self.dock.checkBoxHasReverseCost.isEnabled()):
320324
self.dock.lineEditReverseCost.setEnabled(False)
321325

0 commit comments

Comments
 (0)