Adjust plus button spacing next to Start tab

- Changed button padding from [5, 10] to [4, 8] to match layout tabs
- Changed container left padding from 6.0 to 2.0 for consistent spacing
- Plus button now has same distance from Start tab as from Layout tabs

Co-authored-by: Copilot <[email protected]>
This commit is contained in:
JonathanandCopilot committed 2026-09-09 07:48:26 +02:00
1 parent 56e09cd3f5
commit b3e3555f4f
1 file changed
+2 -2
+2 -2
View File
@@ -2930,7 +2930,7 @@ pub(super) fn doc_tab_bar<'a>(
let new_btn = button(text("+").size(14))
.on_press(Message::TabNew)
.height(iced::Length::Fixed(28.0))
.padding([5, 10])
.padding([4, 8])
.style(|theme: &Theme, status| {
let palette = theme.palette();
let hovered = matches!(
@@ -2960,7 +2960,7 @@ pub(super) fn doc_tab_bar<'a>(
top: 0.0,
right: 0.0,
bottom: 0.0,
left: 6.0,
left: 2.0,
})
.into(),
);