Reworked runner position configuration to allow for far more flexibility

This commit is contained in:
Kirottu
2023-07-04 19:13:27 +03:00
parent 9ad3af89c0
commit 49a43c4a9b
4 changed files with 68 additions and 63 deletions

View File

@@ -3,15 +3,18 @@ Config(
// Absolute(n): The absolute value in pixels
// Fraction(n): A fraction of the width or height of the full screen (depends on exclusive zones and the settings related to them) window respectively
// How wide the input box and results are.
width: Absolute(800),
// The horizontal position, adjusted so that Relative(0.5) always centers the runner
x: Relative(0.5),
// The vertical position, works the same as `x`
y: Absolute(0),
// The width of the runner
width: Absolute(800),
// The minimum height of the runner, the runner will expand to fit all the entries
height: Absolute(0),
// Where Anyrun is located on the screen: Top, Center
position: Top,
// How much the runner is shifted vertically
vertical_offset: Absolute(0),
// Hide match and plugin info icons
hide_icons: false,