diff --git a/src/App/Styles/Controls.axaml b/src/App/Styles/Controls.axaml index e66f843..c2da350 100644 --- a/src/App/Styles/Controls.axaml +++ b/src/App/Styles/Controls.axaml @@ -117,6 +117,11 @@ + + diff --git a/src/App/ViewModels/MainWindowViewModel.cs b/src/App/ViewModels/MainWindowViewModel.cs index 9fbd417..7113d8d 100644 --- a/src/App/ViewModels/MainWindowViewModel.cs +++ b/src/App/ViewModels/MainWindowViewModel.cs @@ -96,6 +96,11 @@ public partial class MainWindowViewModel : ViewModelBase public bool IsMobile => !IsDesktop; + // Tab bar sizing: compact on mobile so all 5 tabs fit in one row. + public double TabIconSize => IsMobile ? 20 : 24; + public double TabFontSize => IsMobile ? 10 : 13; + public double TabSpacing => IsMobile ? 4 : 4; + public string UnitLabel => _config.Unit; public AppConfig CurrentConfig => _config; diff --git a/src/App/Views/MainView.axaml b/src/App/Views/MainView.axaml index ac9fe1b..691cccd 100644 --- a/src/App/Views/MainView.axaml +++ b/src/App/Views/MainView.axaml @@ -324,7 +324,7 @@ - + @@ -332,24 +332,27 @@ - - + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + @@ -496,62 +503,87 @@ - - - + + + + + - - - + + + + PlaceholderText="{Binding Loc[send.contact.hint]}" + MinHeight="48"> - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -561,15 +593,19 @@ Foreground="{DynamicResource TextSecondaryBrush}"/> - -