mirror of
				https://github.com/slint-ui/slint.git
				synced 2025-10-31 12:04:33 +00:00 
			
		
		
		
	Get rid of abi::datastructures::WindowProperties
Instead, pass a reference to the root item when mapping the window, at which point we can downcast to the new Window item. If we have one, then we'll read its width/height (for initial values) and install bindings to keep them up-to-date.
This commit is contained in:
		
							parent
							
								
									3d5d112deb
								
							
						
					
					
						commit
						aafb96cb93
					
				
					 14 changed files with 150 additions and 116 deletions
				
			
		|  | @ -1,6 +1,6 @@ | |||
| import { Button, CheckBox, SpinBox, Slider } from "sixtyfps_widgets.60"; | ||||
| 
 | ||||
| App := Rectangle { | ||||
| App := Window { | ||||
|     GridLayout { | ||||
|         spacing: 10lx; | ||||
|         Row { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Simon Hausmann
						Simon Hausmann