Skip to content

Commit

Permalink
Fix letter coordinates positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnovak committed Mar 27, 2024
1 parent da7baf3 commit 4066c01
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main.nim
Original file line number Diff line number Diff line change
Expand Up @@ -3162,10 +3162,9 @@ template coordinateFields() =
)

group:
let letterLabelX = x + 152

koi.label("Column start", style=a.theme.labelStyle)
var y = koi.autoLayoutNextY()
let letterLabelX = koi.autoLayoutNextX() + DlgNumberWidth + 14

koi.nextItemWidth(DlgNumberWidth)
koi.textField(
Expand All @@ -3178,6 +3177,8 @@ template coordinateFields() =
).some,
style = a.theme.textFieldStyle
)


if CoordinateStyle(dlg.columnStyle) == csLetter:
try:
let i = parseInt(dlg.columnStart)
Expand Down

0 comments on commit 4066c01

Please sign in to comment.