mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 12:46:47 +02:00
[FZ Editor] Show zone size below the zone index (#9449)
This commit is contained in:
@@ -22,6 +22,12 @@ namespace FancyZonesEditor
|
||||
{
|
||||
InitializeComponent();
|
||||
Canvas.SetZIndex(this, zIndex++);
|
||||
SizeChanged += CanvasZone_SizeChanged;
|
||||
}
|
||||
|
||||
private void CanvasZone_SizeChanged(object sender, SizeChangedEventArgs e)
|
||||
{
|
||||
LabelSize.Content = "(" + Width.ToString() + "x" + Height.ToString() + ")";
|
||||
}
|
||||
|
||||
private CanvasLayoutModel model;
|
||||
|
||||
Reference in New Issue
Block a user