Skip to content

Commit 0b513e4

Browse files
committed
fix(gui): simplify chat coding panel layout #51
The chat coding panel layout has been simplified by removing unnecessary rows and cells, and by reorganizing the remaining components into a more streamlined structure. This change reduces complexity and improves readability of the code.
1 parent a26d3a8 commit 0b513e4

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

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

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -95,21 +95,9 @@ class ChatCodingPanel(private val chatCodingService: ChatCodingService, val disp
9595
})
9696

9797
panelContent = panel {
98-
row {
99-
cell(myScrollPane)
100-
.fullWidth()
101-
.fullHeight()
102-
103-
}.resizableRow()
104-
105-
row {
106-
cell(progressBar).fullWidth()
107-
}
108-
109-
row {
110-
cell(actionLink).alignRight()
111-
}
112-
98+
row { cell(myScrollPane).fullWidth().fullHeight() }.resizableRow()
99+
row { cell(progressBar).fullWidth() }
100+
row { cell(actionLink).alignRight() }
113101
row {
114102
border = JBUI.Borders.empty(8)
115103
cell(inputSection).fullWidth()

0 commit comments

Comments
 (0)