mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Adjust Width Logic
This commit is contained in:
parent
ba3d262ccd
commit
a6de6c7bf6
2 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@
|
|||
xmlns:vm="clr-namespace:Flow.Launcher.ViewModel"
|
||||
Name="FlowMainWindow"
|
||||
Title="Flow Launcher"
|
||||
Width="{Binding MainWindowWidth, Mode=TwoWay}"
|
||||
Width="{Binding MainWindowWidth, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
||||
MinWidth="430"
|
||||
MinHeight="30"
|
||||
d:DataContext="{d:DesignInstance Type=vm:MainViewModel}"
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ namespace Flow.Launcher
|
|||
}
|
||||
}
|
||||
|
||||
_settings.WindowSize = Width;
|
||||
_viewModel.MainWindowWidth = Width;
|
||||
FlowMainWindow.SizeToContent = SizeToContent.Height;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue