planning out api more
This commit is contained in:
16
desktop_app/ui/widgets/chat_window.py
Normal file
16
desktop_app/ui/widgets/chat_window.py
Normal file
@@ -0,0 +1,16 @@
|
||||
from textual.containers import Vertical, VerticalScroll, HorizontalGroup
|
||||
from textual.widgets import Input, Button, Static
|
||||
|
||||
|
||||
class Message(Static):
|
||||
def __init__(self, message):
|
||||
super().__init__()
|
||||
|
||||
class ChatWindow(Vertical):
|
||||
def compose(self):
|
||||
with VerticalScroll():
|
||||
pass
|
||||
|
||||
with HorizontalGroup():
|
||||
yield Input(placeholder="Send a message")
|
||||
yield Button("", flat=True)
|
||||
Reference in New Issue
Block a user