Flyout styles and settings animations (#682)
* Refactor and enhance settings pages and solution structure - Added transition effects to multiple pages for enhanced UI animations. - Moved `AboutPage` and `PersonalizationPage` to settings folder. - Put version into settings card instead of text. * Fixed main logo in about page and changed version styles * revert platforms * Remove useless imprt * Apply this animation globally * Added resize transition for mail rendering page * remove entrance transition from rendering page
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using Windows.UI.Xaml;
|
||||
using Windows.UI.Xaml.Controls;
|
||||
using Wino.Core.Domain.Interfaces;
|
||||
using Wino.Core.Domain.Models.Folders;
|
||||
@@ -11,18 +10,11 @@ namespace Wino.MenuFlyouts;
|
||||
|
||||
public partial class WinoOperationFlyoutItem<TOperationMenuItem> : MenuFlyoutItem, IDisposable where TOperationMenuItem : IMenuOperation
|
||||
{
|
||||
private const double CustomHeight = 35;
|
||||
|
||||
public TOperationMenuItem Operation { get; set; }
|
||||
Action<TOperationMenuItem> Clicked { get; set; }
|
||||
|
||||
public WinoOperationFlyoutItem(TOperationMenuItem operationMenuItem, Action<TOperationMenuItem> clicked)
|
||||
{
|
||||
Margin = new Thickness(4, 2, 4, 2);
|
||||
CornerRadius = new CornerRadius(6, 6, 6, 6);
|
||||
|
||||
MinHeight = CustomHeight;
|
||||
|
||||
Operation = operationMenuItem;
|
||||
IsEnabled = operationMenuItem.IsEnabled;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user