making stroke smaller
This commit is contained in:
parent
2f8ee4a317
commit
60f69cf312
|
@ -1,7 +1,7 @@
|
||||||
use cosmic::{
|
use cosmic::{
|
||||||
iced::{
|
iced::{
|
||||||
alignment::Vertical, futures::FutureExt, Background, Border,
|
alignment::Vertical, clipboard::dnd::DndAction,
|
||||||
Color, Length,
|
futures::FutureExt, Background, Border, Color, Length,
|
||||||
},
|
},
|
||||||
iced_widget::{column, row as rowm, text as textm},
|
iced_widget::{column, row as rowm, text as textm},
|
||||||
theme,
|
theme,
|
||||||
|
@ -385,6 +385,7 @@ impl<'a> Library {
|
||||||
)),
|
)),
|
||||||
)),
|
)),
|
||||||
)
|
)
|
||||||
|
.action(DndAction::Copy)
|
||||||
// .drag_icon(move |i| {
|
// .drag_icon(move |i| {
|
||||||
// let state =
|
// let state =
|
||||||
// drag_item.as_widget().state();
|
// drag_item.as_widget().state();
|
||||||
|
|
|
@ -552,7 +552,7 @@ pub(crate) fn slide_view<'a>(
|
||||||
.text(slide_text)
|
.text(slide_text)
|
||||||
.fill("#fff")
|
.fill("#fff")
|
||||||
.shadow(shadow(2, 2, 5, "#000000"))
|
.shadow(shadow(2, 2, 5, "#000000"))
|
||||||
.stroke(stroke(2, "#000"))
|
.stroke(stroke(1, "#000"))
|
||||||
.font(font)
|
.font(font)
|
||||||
.view()
|
.view()
|
||||||
.map(|m| Message::None);
|
.map(|m| Message::None);
|
||||||
|
|
Loading…
Reference in a new issue