Skip to content

Commit

Permalink
adjust textarea layout when adding
Browse files Browse the repository at this point in the history
  • Loading branch information
xulihang committed Dec 22, 2018
1 parent dc16283 commit 922bdc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BasicCAT/Project.bas
Original file line number Diff line number Diff line change
Expand Up @@ -986,9 +986,9 @@ Public Sub addTextAreaToSegmentPane(segmentpane As Pane,source As String,target
addKeyEvent(targetTextArea,"targetTextArea")
addSelectionChangedEvent(targetTextArea,"targetTextAreaSelection")

sourceTextArea.Left=5dip
sourceTextArea.Left=0
sourceTextArea.SetSize(Main.editorLV.Width/2-20dip,50dip)
targetTextArea.Left=targetTextArea.Left+targetTextArea.Width
targetTextArea.Left=sourceTextArea.Left+sourceTextArea.Width
targetTextArea.SetSize(Main.editorLV.Width/2-20dip,50dip)
End Sub

Expand Down

0 comments on commit 922bdc0

Please sign in to comment.