Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add hover_layout_pos option to control position of hover_layout popups
-each coordinate can be given using a sum of number of pixels or proportion of the widget size (w), screen size (s), or popup size (p) -the default reference point is the upper right of the widget, unless the position is preceded with "abs:" in which case the reference point is 0,0 -if the position is only in w or s, a "smart alignment" of the popup is done: the popup will be centered, or left aligned if on the left border (0w or 0s), or right aligned if on the right border (1w or 1s) examples : ".5w x w" : center bottom of widget, equivalent to ".5w-.5p x w-p" "abs: .5s x 0" : center top of screen, equivalent to "abs: .5s-.5p x 0" ".5w x w-p-10" : 10 pixels above center bottom of widget example of use : Cover(hover_delay=1, hover_layout_pos=.5w x w, hover_layout=some_layout)
- Loading branch information