Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addFeatureGUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def configureDialog(self, p_layertype, p_wkbtype, p_Multitype=False, p_Z=False,

# Resize grid. Set column's width equal. Resize the section to fill the available space.
for i in range(self.twPoints.columnCount()):
self.twPoints.setColumnWidth(i, self.twPoints.width()/self.twPoints.columnCount())
self.twPoints.setColumnWidth(i, int(self.twPoints.width()/self.twPoints.columnCount()))
self.twPoints.horizontalHeader().setSectionResizeMode(i, QHeaderView.Stretch)

# Disable OK button. Wait for entering valid coordinates
Expand Down