making stroke smaller

This commit is contained in:
Chris Cochrun 2025-04-22 15:25:14 -05:00
parent 2f8ee4a317
commit 60f69cf312
2 changed files with 4 additions and 3 deletions

View file

@ -1,7 +1,7 @@
use cosmic::{
iced::{
alignment::Vertical, futures::FutureExt, Background, Border,
Color, Length,
alignment::Vertical, clipboard::dnd::DndAction,
futures::FutureExt, Background, Border, Color, Length,
},
iced_widget::{column, row as rowm, text as textm},
theme,
@ -385,6 +385,7 @@ impl<'a> Library {
)),
)),
)
.action(DndAction::Copy)
// .drag_icon(move |i| {
// let state =
// drag_item.as_widget().state();

View file

@ -552,7 +552,7 @@ pub(crate) fn slide_view<'a>(
.text(slide_text)
.fill("#fff")
.shadow(shadow(2, 2, 5, "#000000"))
.stroke(stroke(2, "#000"))
.stroke(stroke(1, "#000"))
.font(font)
.view()
.map(|m| Message::None);