fixy some stuff
Some checks failed
/ test (push) Has been cancelled

This commit is contained in:
Chris Cochrun 2025-10-23 15:24:15 -05:00
parent 8ce6ab5175
commit 920f7cf497

View file

@ -448,20 +448,22 @@ order",
) )
.gap(10); .gap(10);
let stroke_size_button = let stroke_size_button = tooltip(
icon::from_name("./res/text-outline.svg") icon::from_path("./res/text-outline.svg".into())
.symbolic(true) .symbolic(true)
.apply(button::icon) .apply(button::icon)
.tooltip("Set the stroke or outline of the text") .on_press(Message::None),
.on_press(Message::None) "Stroke or outline of the text",
.padding(5); tooltip::Position::Bottom,
let stroke_width_selector = combo_box(
&self.stroke_sizes,
"0",
Some(&self.stroke_size),
|v| Message::UpdateStrokeSize(v),
) )
.width(theme::active().cosmic().space_xxl()); .gap(10);
// let stroke_width_selector = combo_box(
// &self.stroke_sizes,
// "0",
// Some(&self.stroke_size),
// |v| Message::UpdateStrokeSize(v),
// )
// .width(theme::active().cosmic().space_xxl());
let stroke_color_picker = color_picker::color_button( let stroke_color_picker = color_picker::color_button(
Some(Message::None), Some(Message::None),
@ -482,8 +484,7 @@ order",
font_selector, font_selector,
// text::body("Font Size:"), // text::body("Font Size:"),
font_size, font_size,
text::body("Stroke Size:"), stroke_size_button,
stroke_width_selector,
text::body("Stroke Color:"), text::body("Stroke Color:"),
stroke_color_picker, stroke_color_picker,
horizontal_space(), horizontal_space(),