mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:02:46 +00:00 
			
		
		
		
	 6ee597369d
			
		
	
	
		6ee597369d
		
	
	
	
	
		
			
			Now that the GML formatter is both perserving comments and also mostly agrees to the existing GML style, it can be used to auto-format all the GML files in the system. This commit does not only contain the scripts for running the formatting on CI and the pre-commit hook, but also initially formats all the existing GML files so that the hook is successfull.
		
			
				
	
	
		
			35 lines
		
	
	
	
		
			645 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
	
		
			645 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| @GUI::Widget {
 | |
|     name: "main"
 | |
|     fill_with_background_color: true
 | |
|     layout: @GUI::VerticalBoxLayout {
 | |
|         margins: [4]
 | |
|         spacing: 4
 | |
|     }
 | |
| 
 | |
|     @Spreadsheet::ConditionsView {
 | |
|         name: "conditions_view"
 | |
|     }
 | |
| 
 | |
|     @GUI::Widget {
 | |
|         shrink_to_fit: true
 | |
|         layout: @GUI::HorizontalBoxLayout {
 | |
|             spacing: 10
 | |
|         }
 | |
| 
 | |
|         @GUI::Widget
 | |
| 
 | |
|         @GUI::Button {
 | |
|             name: "add_button"
 | |
|             text: "Add"
 | |
|             fixed_width: 70
 | |
|         }
 | |
| 
 | |
|         @GUI::Button {
 | |
|             name: "remove_button"
 | |
|             text: "Remove"
 | |
|             fixed_width: 70
 | |
|         }
 | |
| 
 | |
|         @GUI::Widget
 | |
|     }
 | |
| }
 |