Skip to content

Commit 26f0c5a

Browse files
committed
Fix text box sizing issue
1 parent 90e5941 commit 26f0c5a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/app.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ use crate::{macos, utils::get_installed_apps};
88
use arboard::Clipboard;
99
use global_hotkey::{GlobalHotKeyEvent, HotKeyState};
1010
use iced::futures::SinkExt;
11+
use iced::widget::text::LineHeight;
1112
use iced::{
1213
Alignment, Element, Fill, Subscription, Task, Theme,
1314
alignment::Vertical,
@@ -425,6 +426,7 @@ impl Tile {
425426
})
426427
.id("query")
427428
.width(Fill)
429+
.line_height(LineHeight::Relative(1.5))
428430
.padding(20);
429431

430432
match self.page {

0 commit comments

Comments
 (0)