mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-10 05:06:36 +02:00
[Settings]Change text color for disabled controls (#4837)
* change text color for disabled controls * added custom textblock controls and updated FZ Xaml * updated Image Resizer Page * updated Shotcut Guid * updated KBM Settings * reverted unrealted changes * reverted unrealted changes * reverted unrealted changes * reverted unrealted changes * updated power launcher * reverted unrealted changes * Image Resizer: renoved spaces in file format hint text * Image Resizer: restored file format header Co-authored-by: Lavius Motileng <laviusntk>
This commit is contained in:
@@ -11,7 +11,7 @@ namespace Microsoft.PowerToys.Settings.UI.Views
|
||||
{
|
||||
public sealed partial class PowerLauncherPage : Page
|
||||
{
|
||||
public PowerLauncherViewModel ViewModel { get; } = new PowerLauncherViewModel();
|
||||
public PowerLauncherViewModel ViewModel { get; set; }
|
||||
|
||||
private readonly ObservableCollection<Tuple<string, string>> searchResultPreferencesOptions;
|
||||
private readonly ObservableCollection<Tuple<string, string>> searchTypePreferencesOptions;
|
||||
@@ -19,6 +19,8 @@ namespace Microsoft.PowerToys.Settings.UI.Views
|
||||
public PowerLauncherPage()
|
||||
{
|
||||
InitializeComponent();
|
||||
ViewModel = new PowerLauncherViewModel();
|
||||
DataContext = ViewModel;
|
||||
|
||||
var loader = Windows.ApplicationModel.Resources.ResourceLoader.GetForCurrentView();
|
||||
|
||||
@@ -33,6 +35,7 @@ namespace Microsoft.PowerToys.Settings.UI.Views
|
||||
searchTypePreferencesOptions.Add(Tuple.Create(loader.GetString("PowerLauncher_SearchTypePreference_ExecutableName"), "executable_name"));
|
||||
}
|
||||
|
||||
/*
|
||||
public Tuple<string, string> SelectedSearchResultPreference
|
||||
{
|
||||
get
|
||||
@@ -64,5 +67,6 @@ namespace Microsoft.PowerToys.Settings.UI.Views
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user