Skip to content

Commit f157522

Browse files
committed
fix(gui): Improve chat input handling #51
The chat input handling has been modified to include a border around the input section for better visual separation.
1 parent 067f8b8 commit f157522

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/main/kotlin/cc/unitmesh/devti/gui/chat/AutoDevInput.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ class AutoDevInput(
5656
it.putUserData(IncrementalFindAction.SEARCH_DISABLED, true)
5757
it.colorsScheme.lineSpacing = 1.0f
5858
it.settings.isUseSoftWraps = true
59-
// it.settings.isPaintSoftWraps = false
6059
it.isEmbeddedIntoDialogWrapper = true
6160
it.contentComponent.setOpaque(false)
6261
}

src/main/kotlin/cc/unitmesh/devti/gui/chat/ChatCodingPanel.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ class ChatCodingPanel(private val chatCodingService: ChatCodingService, val disp
109109
}
110110

111111
row {
112+
border = JBUI.Borders.empty(8)
112113
cell(inputSection).fullWidth()
113114
}
114115
}

0 commit comments

Comments
 (0)