fix(ui): поле ввода композитора в центр (не за край окна)
This commit is contained in:
@@ -46,7 +46,7 @@ func (p *ChatPanel) Composer() fyne.CanvasObject {
|
|||||||
widget.NewButton("Пропустить", func() { if p.commands != nil { p.commands.Skip() } }),
|
widget.NewButton("Пропустить", func() { if p.commands != nil { p.commands.Skip() } }),
|
||||||
widget.NewButton("Отмена", func() { if p.commands != nil { p.commands.Cancel() } }),
|
widget.NewButton("Отмена", func() { if p.commands != nil { p.commands.Cancel() } }),
|
||||||
)
|
)
|
||||||
return container.NewBorder(nil, nil, cmdBar, p.input, nil)
|
return container.NewBorder(nil, nil, cmdBar, nil, p.input)
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetTranscript заменяет содержимое диалога (спец 12.12).
|
// SetTranscript заменяет содержимое диалога (спец 12.12).
|
||||||
|
|||||||
Reference in New Issue
Block a user