2 writes to Left
aspire-tray (2)
TrayApplication.Settings.cs (1)
134
var rect = new NativeMethods.Rect {
Left
= x, Top = y, Right = x + width, Bottom = y + height };
TrayApplication.SettingsAppearance.cs (1)
117
return new() {
Left
= Scale(x), Top = Scale(y), Right = Scale(x + width), Bottom = Scale(y + height) };
22 references to Left
aspire-tray (22)
TrayApplication.NativeSmoke.cs (6)
182
NativeSmokeHarness.Require(bounds.Right > bounds.
Left
&& bounds.Bottom > bounds.Top
183
&& bounds.
Left
>= monitor.Work.
Left
&& bounds.Right <= monitor.Work.Right
185
$"The tooltip must remain within the monitor work area. Tooltip: ({bounds.
Left
}, {bounds.Top})-({bounds.Right}, {bounds.Bottom}); work area: ({monitor.Work.
Left
}, {monitor.Work.Top})-({monitor.Work.Right}, {monitor.Work.Bottom}).");
507
&& _settingsControlBounds[_settingsLogo].Right < _settingsControlBounds[_settingsProductName].
Left
TrayApplication.Settings.cs (2)
137
rect.
Left
, rect.Top, rect.Right - rect.
Left
, rect.Bottom - rect.Top, dialog, id, _module, 0);
TrayApplication.SettingsAppearance.cs (6)
103
var width = desired.Right + window.Right - window.
Left
- client.Right;
105
var x = Math.Clamp(window.
Left
, monitor.Work.
Left
, Math.Max(monitor.Work.
Left
, monitor.Work.Right - width));
124
NativeCallException.Require(NativeMethods.SetWindowPos(control, 0, bounds.
Left
, bounds.Top - _settingsScrollPosition,
125
bounds.Right - bounds.
Left
, bounds.Bottom - bounds.Top, 0x4 | 0x10) != 0, "SetWindowPos(Settings control)");
TrayApplication.Tooltips.cs (8)
110
var x = Math.Clamp(bounds.
Left
, monitor.Work.
Left
, Math.Max(monitor.Work.
Left
, monitor.Work.Right - (bounds.Right - bounds.
Left
)));
128
var maximumWidth = Math.Max(1, Math.Min((int)(600 * dpi / 96), monitor.Work.Right - monitor.Work.
Left
- 4 * gap));
138
var x = Math.Clamp(last.
Left
, monitor.Work.
Left
, Math.Max(monitor.Work.
Left
, monitor.Work.Right - width));