Align spline fit properties and menu arrows

This commit is contained in:
ramox81 committed 2026-09-11 15:53:51 +03:00
1 parent 753fa17b68
commit 14b98231f5
5 files changed
+19 -14

No files matched your search

+3 -1
View File
@@ -63,6 +63,8 @@ pub(super) const SMALL_W: f32 = ROW_H;
pub(super) const ARROW_W: f32 = ROW_H * 0.4;
/// Height of the ▾ strip at the bottom of a large dropdown.
pub(super) const LARGE_ARR: f32 = ROW_H * 0.55;
/// Arrow size used under large dropdown tools such as Circle.
pub(super) const LARGE_DROPDOWN_ARROW_SIZE: f32 = 9.0;
/// Total ribbon tool-area height = 3 × ROW_H + 6 px v-padding + 12 px group-label.
pub(super) const TOOL_BAR_H: f32 = 3.0 * ROW_H + 18.0;
/// Height of a collapsed panel button's large representative face (big icon +
@@ -706,7 +708,7 @@ pub(super) fn render_large_dropdown<'a>(
});
let arr_btn = button(
container(icons::themed_arrow_down(9.0))
container(icons::themed_arrow_down(LARGE_DROPDOWN_ARROW_SIZE))
.width(Fill)
.height(Fill)
.align_x(iced::Center)