mirror of
https://github.com/ByteAtATime/raycast-linux.git
synced 2025-12-23 10:11:57 +00:00
feat: update size and border of root list item
This commit is contained in:
parent
b2e8172c14
commit
e384f14fcd
1 changed files with 4 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
use iced::Border;
|
||||
use iced::widget::scrollable::Viewport;
|
||||
use iced::widget::{self, container, image, row, scrollable, svg, text};
|
||||
use iced::{
|
||||
|
|
@ -251,8 +252,10 @@ impl RootScreen {
|
|||
let item_row = container(row_content.padding(12))
|
||||
.style(move |_theme| container::Style {
|
||||
background: Some(iced::Background::Color(background)),
|
||||
border: Border::default().rounded(6.0),
|
||||
..Default::default()
|
||||
})
|
||||
.height(Length::Fixed(48.0))
|
||||
.width(Length::Fill);
|
||||
|
||||
ui_rows.push(item_row.into());
|
||||
|
|
@ -260,6 +263,7 @@ impl RootScreen {
|
|||
|
||||
let content = Column::with_children(ui_rows)
|
||||
.width(Length::Fill)
|
||||
.padding([0, 8])
|
||||
.id(POSITION_TRACKER.clone());
|
||||
|
||||
scrollable(content)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue