mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:22:43 +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.
		
			
				
	
	
		
			67 lines
		
	
	
	
		
			1.4 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			67 lines
		
	
	
	
		
			1.4 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| @GUI::Widget {
 | |
|     fill_with_background_color: true
 | |
|     layout: @GUI::VerticalBoxLayout {
 | |
|         margins: [8]
 | |
|         spacing: 8
 | |
|     }
 | |
| 
 | |
|     @GUI::Widget {
 | |
|         shrink_to_fit: true
 | |
|         layout: @GUI::HorizontalBoxLayout {
 | |
|             spacing: 6
 | |
|         }
 | |
| 
 | |
|         @GUI::Label {
 | |
|             fixed_width: 100
 | |
|             text: "Default font:"
 | |
|             text_alignment: "CenterLeft"
 | |
|         }
 | |
| 
 | |
|         @GUI::Frame {
 | |
|             background_role: "Base"
 | |
|             fill_with_background_color: true
 | |
|             layout: @GUI::VerticalBoxLayout
 | |
| 
 | |
|             @GUI::Label {
 | |
|                 name: "default_font_label"
 | |
|             }
 | |
|         }
 | |
| 
 | |
|         @GUI::Button {
 | |
|             text: "..."
 | |
|             name: "default_font_button"
 | |
|             fixed_width: 30
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     @GUI::Widget {
 | |
|         shrink_to_fit: true
 | |
|         layout: @GUI::HorizontalBoxLayout {
 | |
|             spacing: 6
 | |
|         }
 | |
| 
 | |
|         @GUI::Label {
 | |
|             fixed_width: 100
 | |
|             text: "Fixed-width font:"
 | |
|             text_alignment: "CenterLeft"
 | |
|         }
 | |
| 
 | |
|         @GUI::Frame {
 | |
|             background_role: "Base"
 | |
|             fill_with_background_color: true
 | |
|             layout: @GUI::VerticalBoxLayout
 | |
| 
 | |
|             @GUI::Label {
 | |
|                 name: "fixed_width_font_label"
 | |
|             }
 | |
|         }
 | |
| 
 | |
|         @GUI::Button {
 | |
|             text: "..."
 | |
|             name: "fixed_width_font_button"
 | |
|             fixed_width: 30
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     @GUI::Widget
 | |
| }
 |