Skip to content

Commit 4311075

Browse files
committed
.
1 parent 10ea40b commit 4311075

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@ def generate_report(self,) :
958958
def chat_with_ai(self,) :
959959
self.clearScreen()
960960

961-
self.ai_box = CTk.CTkScrollableFrame(self.app, 400, 300, 0, 0, self.app_text_box_color, self.app_text_box_color)
961+
self.ai_box = CTk.CTkFrame(self.app, 400, 300, 0, 0, self.app_text_box_color, self.app_text_box_color)
962962
self.ai_box.place(x=100, y=150)
963963
## Deleting ai_box requires for basically everything else to be deleted
964964

@@ -1022,13 +1022,13 @@ def sendMessage(self) :
10221022
user_message = CTk.CTkLabel(self.ai_box, bg_color=self.bg_color_light, fg_color=self.bg_color_light, text=user_input, font=self.text_font)
10231023
user_message.place(x=15, y=self.current_y_ai)
10241024
self.all_screen_obj.append(user_message)
1025-
self.current_y_ai += int(len(user_input)/2) + 10
1025+
self.current_y_ai += int(len(user_input)/2) + 35
10261026

10271027
ai_response = self.sendOPENAIMessage(user_input)
10281028
print(ai_response)
10291029
ai_message = CTk.CTkLabel(self.ai_box, bg_color=self.bg_color_light, fg_color=self.bg_color_light, text=ai_response, font=self.text_font)
10301030
ai_message.place(x=15, y=self.current_y_ai)
1031-
self.current_y_ai += int(len(ai_response)/2) + 10
1031+
self.current_y_ai += int(len(ai_response)/2) + 35
10321032

10331033

10341034

0 commit comments

Comments
 (0)