From 77b4013566b5d693d223cbd1011d0b8b08e6bc7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Fri, 27 Nov 2026 06:36:13 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20ui:=20share=20settings=20kind=20?= =?UTF-8?q?tabs=20sit=20at=20the=20bottom=20next=20to=20the=20trigger=20so?= =?UTF-8?q?=20they=20stay=20put=20when=20the=20card=20height=20changes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/client/src/gui/share_view.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/crates/client/src/gui/share_view.rs b/crates/client/src/gui/share_view.rs index d9945d9..760b687 100644 --- a/crates/client/src/gui/share_view.rs +++ b/crates/client/src/gui/share_view.rs @@ -621,13 +621,6 @@ fn settings_card(entity: &Entity, yumush: &Yumush, palette: Palette) -> .border_1() .border_color(palette.border) .bg(palette.panel) - .child(segmented( - [(Kind::Screen, "Screen"), (Kind::Camera, "Camera")], - kind, - entity, - palette, - Yumush::set_share_tab, - )) .child(field( "Resolution", segmented( @@ -680,6 +673,13 @@ fn settings_card(entity: &Entity, yumush: &Yumush, palette: Palette) -> )) .children(audio_list(entity, yumush, palette)) }) + .child(segmented( + [(Kind::Screen, "Screen"), (Kind::Camera, "Camera")], + kind, + entity, + palette, + Yumush::set_share_tab, + )) } fn share_limits(source: Option) -> (Vec, Vec) {