Implement mouse-based pane resizing for PaneGrid
This commit is contained in:
parent
db441a64b1
commit
f08cb4ad56
7 changed files with 265 additions and 11 deletions
|
|
@ -21,6 +21,12 @@ pub enum MouseCursor {
|
|||
|
||||
/// The cursor is over a text widget.
|
||||
Text,
|
||||
|
||||
/// The cursor is resizing a widget horizontally.
|
||||
ResizingHorizontally,
|
||||
|
||||
/// The cursor is resizing a widget vertically.
|
||||
ResizingVertically,
|
||||
}
|
||||
|
||||
impl Default for MouseCursor {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue