From 0e5c3215f378be5972414f8fd092c49e7dc6e820 Mon Sep 17 00:00:00 2001 From: Lance Chant <13349722+lancechant@users.noreply.github.com> Date: Mon, 19 Jan 2026 14:59:11 +0200 Subject: [PATCH] fix: text ui scaling Made text UI scaling follow OS level scailing to a limit to stop overlapping issues Signed-off-by: Lance Chant <13349722+lancechant@users.noreply.github.com> --- components/Button.tsx | 6 ++++- components/JellyfinServerDiscovery.tsx | 2 +- components/PlayButton.tsx | 12 ++++++--- components/PlayButton.tv.tsx | 7 ++++-- components/ThemedText.tsx | 1 + .../apple-tv-carousel/AppleTVCarousel.tsx | 2 ++ components/common/Input.tsx | 4 +-- components/common/SectionHeader.tsx | 5 +++- components/common/Text.tsx | 4 +-- components/home/Favorites.tsx | 10 ++++++-- components/settings/KefinTweaks.tsx | 4 +-- .../video-player/controls/SkipButton.tsx | 4 ++- .../video-player/controls/SliderScrubbter.tsx | 11 ++++++-- .../controls/TechnicalInfoOverlay.tsx | 25 +++++++++++++------ 14 files changed, 70 insertions(+), 27 deletions(-) diff --git a/components/Button.tsx b/components/Button.tsx index 03df8967..75f45017 100644 --- a/components/Button.tsx +++ b/components/Button.tsx @@ -144,7 +144,10 @@ export const Button: React.FC> = ({ ${colorClasses} ${className}`} > - + {children} @@ -186,6 +189,7 @@ export const Button: React.FC> = ({ ${iconRight ? "mr-2" : ""} ${iconLeft ? "ml-2" : ""} `} + ellipsizeMode='tail' > {children} diff --git a/components/JellyfinServerDiscovery.tsx b/components/JellyfinServerDiscovery.tsx index 689b266e..769e5ff1 100644 --- a/components/JellyfinServerDiscovery.tsx +++ b/components/JellyfinServerDiscovery.tsx @@ -17,7 +17,7 @@ const JellyfinServerDiscovery: React.FC = ({ onServerSelect }) => { return (