Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: ui improvements & style unification#124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
ibetitsmike wants to merge5 commits intomain
base:main
Choose a base branch
Loading
frommike/ui-improvements
Open
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletionApp/Views/DirectoryPickerWindow.xaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -13,7 +13,7 @@
MinWidth="400" MinHeight="600">

<Window.SystemBackdrop>
<DesktopAcrylicBackdrop/>
<MicaBackdrop/>
</Window.SystemBackdrop>

<Frame x:Name="RootFrame" />
Expand Down
2 changes: 0 additions & 2 deletionsApp/Views/DirectoryPickerWindow.xaml.cs
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -19,8 +19,6 @@ public DirectoryPickerWindow(DirectoryPickerViewModel viewModel)
InitializeComponent();
TitleBarIcon.SetTitlebarIcon(this);

SystemBackdrop = new DesktopAcrylicBackdrop();

viewModel.Initialize(this, DispatcherQueue);
RootFrame.Content = new DirectoryPickerMainPage(viewModel);

Expand Down
2 changes: 1 addition & 1 deletionApp/Views/FileSyncListWindow.xaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -13,7 +13,7 @@
MinWidth="1000" MinHeight="300">

<Window.SystemBackdrop>
<DesktopAcrylicBackdrop/>
<MicaBackdrop/>
</Window.SystemBackdrop>

<Frame x:Name="RootFrame" />
Expand Down
2 changes: 0 additions & 2 deletionsApp/Views/FileSyncListWindow.xaml.cs
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -16,8 +16,6 @@ public FileSyncListWindow(FileSyncListViewModel viewModel)
InitializeComponent();
TitleBarIcon.SetTitlebarIcon(this);

SystemBackdrop = new DesktopAcrylicBackdrop();

ViewModel.Initialize(this, DispatcherQueue);
RootFrame.Content = new FileSyncListMainPage(ViewModel);

Expand Down
3 changes: 1 addition & 2 deletionsApp/Views/Pages/DirectoryPickerMainPage.xaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -9,8 +9,7 @@
xmlns:converters="using:Coder.Desktop.App.Converters"
xmlns:toolkit="using:CommunityToolkit.WinUI.Controls"
xmlns:viewmodels="using:Coder.Desktop.App.ViewModels"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
mc:Ignorable="d">

<Grid>
<Grid
Expand Down
3 changes: 1 addition & 2 deletionsApp/Views/Pages/FileSyncListMainPage.xaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -8,8 +8,7 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:viewmodels="using:Coder.Desktop.App.ViewModels"
xmlns:converters="using:Coder.Desktop.App.Converters"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
mc:Ignorable="d">

<Grid>
<Grid
Expand Down
4 changes: 2 additions & 2 deletionsApp/Views/Pages/SettingsMainPage.xaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,8 +11,8 @@
xmlns:ui="using:CommunityToolkit.WinUI"
xmlns:win="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
mc:Ignorable="d">

<Page.Resources>
<!-- Spacing between cards -->
<x:Double x:Key="SettingsCardSpacing">4</x:Double>
Expand Down
3 changes: 1 addition & 2 deletionsApp/Views/Pages/SignInTokenPage.xaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,8 +6,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
mc:Ignorable="d">

<StackPanel
Orientation="Vertical"
Expand Down
3 changes: 1 addition & 2 deletionsApp/Views/Pages/SignInUrlPage.xaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,8 +6,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
mc:Ignorable="d">

<StackPanel
Orientation="Vertical"
Expand Down
8 changes: 6 additions & 2 deletionsApp/Views/Pages/TrayWindowMainPage.xaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -267,13 +267,17 @@
<DataTemplate x:DataType="viewModels:AgentAppViewModel">
<HyperlinkButton
x:Name="AppButton"
Padding="6"
Margin="0"
Padding="4"
Margin="2"
Command="{x:Bind OpenAppCommand}"
CommandParameter="{Binding ElementName=AppButton}"
Width="34"
Height="34"
ToolTipService.ToolTip="{x:Bind Details}">
<HyperlinkButton.Resources>
<SolidColorBrush x:Key="HyperlinkButtonBackground" Color="#1F000000"/>
<SolidColorBrush x:Key="HyperlinkButtonBackgroundPointerOver" Color="{ThemeResource SystemAccentColorDark1}" />
</HyperlinkButton.Resources>

<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<Image
Expand Down
2 changes: 1 addition & 1 deletionApp/Views/SettingsWindow.xaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -13,7 +13,7 @@
MinWidth="600" MinHeight="350">

<Window.SystemBackdrop>
<DesktopAcrylicBackdrop/>
<MicaBackdrop/>
</Window.SystemBackdrop>

<Frame x:Name="RootFrame" />
Expand Down
2 changes: 0 additions & 2 deletionsApp/Views/SettingsWindow.xaml.cs
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -16,8 +16,6 @@ public SettingsWindow(SettingsViewModel viewModel)
InitializeComponent();
TitleBarIcon.SetTitlebarIcon(this);

SystemBackdrop = new DesktopAcrylicBackdrop();

RootFrame.Content = new SettingsMainPage(ViewModel);

this.CenterOnScreen();
Expand Down
2 changes: 1 addition & 1 deletionApp/Views/SignInWindow.xaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,7 +11,7 @@
Title="Sign in to Coder">

<Window.SystemBackdrop>
<DesktopAcrylicBackdrop/>
<MicaBackdrop/>
</Window.SystemBackdrop>

<controls:SizedFrame x:Name="RootFrame" />
Expand Down
1 change: 0 additions & 1 deletionApp/Views/SignInWindow.xaml.cs
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -24,7 +24,6 @@ public SignInWindow(SignInViewModel viewModel)
{
InitializeComponent();
TitleBarIcon.SetTitlebarIcon(this);
SystemBackdrop = new DesktopAcrylicBackdrop();
RootFrame.SizeChanged += RootFrame_SizeChanged;

_signInUrlPage = new SignInUrlPage(this, viewModel);
Expand Down
4 changes: 0 additions & 4 deletionsApp/Views/TrayWindow.xaml.cs
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -9,10 +9,8 @@
using Microsoft.UI.Windowing;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Media;
using Microsoft.UI.Xaml.Media.Animation;
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using Windows.Graphics;
using Windows.System;
Expand DownExpand Up@@ -60,7 +58,6 @@ public TrayWindow(IRpcController rpcController, ICredentialManager credentialMan

InitializeComponent();
AppWindow.Hide();
SystemBackdrop = new DesktopAcrylicBackdrop();
Activated += Window_Activated;
RootFrame.SizeChanged += RootFrame_SizeChanged;

Expand DownExpand Up@@ -118,7 +115,6 @@ public TrayWindow(IRpcController rpcController, ICredentialManager credentialMan
};
}


private void SetPageByState(RpcModel rpcModel, CredentialModel credentialModel,
SyncSessionControllerStateModel syncSessionModel)
{
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp