SimpleWindow.nextColumn()
This commit is contained in:
@@ -355,12 +355,13 @@
|
||||
(+= newControlWidth selectionMarker.width textSize))
|
||||
(setNth columnWidths -1 (max newControlWidth (last columnWidths)))
|
||||
(when (and columnControls (= 0 (% columnControls.length controlsPerColumn)))
|
||||
(set nextControlY 0)
|
||||
(when title (+= nextControlY control.height))
|
||||
(+= nextControlX (last columnWidths))
|
||||
(columnWidths.push 0)
|
||||
(when (> (apply + columnWidths) width)
|
||||
(makeScrollArrows))))))
|
||||
(defAndCall method nextColumn
|
||||
(set nextControlY 0)
|
||||
(when title (+= nextControlY titleText.height))
|
||||
(+= nextControlX (last columnWidths))
|
||||
(columnWidths.push 0)
|
||||
(when (> (apply + columnWidths) width)
|
||||
(makeScrollArrows)))))))
|
||||
control)
|
||||
|
||||
(prop &mut :Bool _useScrolling false)
|
||||
|
||||
Reference in New Issue
Block a user