Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
BeepBeepBopBop committed Nov 23, 2024
1 parent b5901dd commit 317a41f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions LM-Kit-Maestro/AppConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,16 @@ internal static class AppConstants

public const double TabBarHeight = 64;

public const double PageTopBarHeight = ChatPageHeaderHeight;
public const double PageTopBarHeight = 64;

public const double ChatPageTopBarHeight = TabBarHeight + ChatPageHeaderHeight - 8;
public const double ChatPageTopBarHeight = TabBarHeight + 64 - 8;

public const double ModelSelectionButtonMaxWidth = 568;

public const double MinimizedHeaderButtonWidth = ChatWindowLayoutMinimumWidth - (16 * 2);

public const double ModelSelectionButtonHeight = 48;

public const double ChatPageHeaderHeight = ModelSelectionButtonHeight + (8 * 2);

public const double ChatPageSidebarWidth = 300;

public const double HeaderHorizontalMargin = 12;
Expand Down
3 changes: 1 addition & 2 deletions LM-Kit-Maestro/UI/Pages/AssistantsPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
x:Class="LMKit.Maestro.UI.AssistantsPage">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="{x:Static local:AppConstants.ChatPageHeaderHeight}"/>
<RowDefinition Height="{x:Static local:AppConstants.PageTopBarHeight}"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>

Expand All @@ -23,7 +23,6 @@
Margin="0, -8, 0, 0"
BackgroundColor="{StaticResource Surface}"
VerticalOptions="Start"
HeightRequest="{x:Static local:AppConstants.ChatPageHeaderHeight}"
Grid.ColumnSpan="3"
ColumnDefinitions="auto, *, auto">

Expand Down

0 comments on commit 317a41f

Please sign in to comment.