mirror of
				https://github.com/ArthurSonzogni/FTXUI.git
				synced 2025-10-31 18:48:11 +08:00 
			
		
		
		
	Add focusPosition[relative](x,y) (#280)
It allows when using inside a frame, to scroll the view toward a particular position. This resolves: https://github.com/ArthurSonzogni/FTXUI/issues/125
This commit is contained in:
		| @@ -68,6 +68,8 @@ Decorator color(Color); | ||||
| Decorator bgcolor(Color); | ||||
| Element color(Color, Element); | ||||
| Element bgcolor(Color, Element); | ||||
| Decorator focusPosition(int x, int y); | ||||
| Decorator focusPositionRelative(float x, float y); | ||||
|  | ||||
| // --- Layout is | ||||
| // Horizontal, Vertical or stacked set of elements. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Arthur Sonzogni
					Arthur Sonzogni