make Quick Search dialog a little taller

This commit is contained in:
Drew Weymouth
2023-11-15 07:42:31 -08:00
parent 5be8ed0019
commit 04f9c4e3b7
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -515,6 +515,9 @@ func (c *Controller) ShowQuickSearch() {
}
c.ClosePopUpOnEscape(pop)
c.haveModal = true
min := qs.MinSize()
height := fyne.Max(min.Height, fyne.Min(min.Height*1.5, c.MainWindow.Canvas().Size().Height*0.7))
pop.Resize(fyne.NewSize(min.Width, height))
pop.Show()
c.MainWindow.Canvas().Focus(qs.SearchEntry)
}