Fix widget resizing handles, edge anchoring, scroll sync, and axis limits
This commit is contained in:
1 parent
216c80252d
commit
bb978fd6de
13 files changed
+538
-76
No files matched your search
+11
-1
@@ -60,7 +60,9 @@ pub(all) struct Carry {
|
||||
|
||||
#derive(Eq, @debug.Debug)
|
||||
pub(all) enum Edge {
|
||||
Left
|
||||
Right
|
||||
Top
|
||||
Bottom
|
||||
Corner
|
||||
}
|
||||
@@ -166,7 +168,7 @@ pub fn Model::widget_matches(Self, Int32) -> Bool
|
||||
pub(all) enum Msg {
|
||||
Restore(saved~ : String?, legacy~ : String?)
|
||||
Started(now~ : Int64, last_check~ : Int64, declined~ : Int32, installed~ : Int32)
|
||||
Measured(vw~ : Int32, vh~ : Int32, grid_left~ : Double, grid_top~ : Double, grid_w~ : Double, bottom_pad~ : Double)
|
||||
Measured(vw~ : Int32, vh~ : Int32, grid_left~ : Double, grid_top~ : Double, grid_w~ : Double, bottom_pad~ : Double, scroll_y~ : Double)
|
||||
AppsLoaded(String?)
|
||||
WidgetsLoaded(String?)
|
||||
LimitsKnown(Int32, String?)
|
||||
@@ -227,6 +229,14 @@ pub(all) struct ResizeDrag {
|
||||
slot : Int32
|
||||
left : Double
|
||||
top : Double
|
||||
right : Double
|
||||
bottom : Double
|
||||
anchor_col : Int32
|
||||
anchor_row : Int32
|
||||
right_col : Int32
|
||||
bottom_row : Int32
|
||||
mut col : Int32
|
||||
mut row : Int32
|
||||
mut cols : Int32
|
||||
mut rows : Int32
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user