Added top, left, bottom and right floating windows alignement (#1169)

* feat: added top, left, bottom, right alignement options

* feat: implemented extra alignement

* feat: added example

* doc: updated documentation with extra alignements

* doc: moved example in wiki and typo correction

* fix: relative position should be positive and not negative

* fixes

---------

Co-authored-by: Martino Ferrari <martinogiordano.ferrari@iter.org>
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
This commit is contained in:
Martino Ferrari
2025-03-01 18:46:27 +01:00
committed by GitHub
parent 66113d7d76
commit 36b28d9b96
3 changed files with 41 additions and 3 deletions
+4
View File
@@ -1355,6 +1355,10 @@ pub enum RelativeTo {
TopRight,
BottomLeft,
BottomRight,
Top,
Bottom,
Left,
Right,
}
#[derive(Debug, Default, PartialEq)]