mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:22:45 +00:00 
			
		
		
		
	 ad8c6d858e
			
		
	
	
		ad8c6d858e
		
	
	
	
	
		
			
			Previously, the size of the button changed with the window's size. Now this parameter is fixed and consistent with the "Debug in Hack Studio" button.
		
			
				
	
	
		
			106 lines
		
	
	
	
		
			2.2 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			106 lines
		
	
	
	
		
			2.2 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| @GUI::Widget {
 | |
|     fill_with_background_color: true
 | |
|     layout: @GUI::VerticalBoxLayout {
 | |
|         margins: [5]
 | |
|     }
 | |
| 
 | |
|     @GUI::Widget {
 | |
|         fixed_height: 44
 | |
|         layout: @GUI::HorizontalBoxLayout {
 | |
|             spacing: 10
 | |
|         }
 | |
| 
 | |
|         @GUI::ImageWidget {
 | |
|             name: "icon"
 | |
|         }
 | |
| 
 | |
|         @GUI::Label {
 | |
|             name: "description"
 | |
|             text_alignment: "CenterLeft"
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     @GUI::Widget {
 | |
|         fixed_height: 18
 | |
|         layout: @GUI::HorizontalBoxLayout {}
 | |
| 
 | |
|         @GUI::Label {
 | |
|             text: "Executable path:"
 | |
|             text_alignment: "CenterLeft"
 | |
|             fixed_width: 90
 | |
|         }
 | |
| 
 | |
|         @GUI::LinkLabel {
 | |
|             name: "executable_link"
 | |
|             text_alignment: "CenterLeft"
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     @GUI::Widget {
 | |
|         fixed_height: 18
 | |
|         layout: @GUI::HorizontalBoxLayout {}
 | |
| 
 | |
|         @GUI::Label {
 | |
|             text: "Coredump path:"
 | |
|             text_alignment: "CenterLeft"
 | |
|             fixed_width: 90
 | |
|         }
 | |
| 
 | |
|         @GUI::LinkLabel {
 | |
|             name: "coredump_link"
 | |
|             text_alignment: "CenterLeft"
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     @GUI::Widget {
 | |
|         fixed_height: 18
 | |
|         layout: @GUI::HorizontalBoxLayout {}
 | |
| 
 | |
|         @GUI::Label {
 | |
|             text: "Arguments:"
 | |
|             text_alignment: "CenterLeft"
 | |
|             fixed_width: 90
 | |
|         }
 | |
| 
 | |
|         @GUI::Label {
 | |
|             name: "arguments_label"
 | |
|             text_alignment: "CenterLeft"
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     @GUI::Progressbar {
 | |
|         name: "progressbar"
 | |
|         text: "Generating crash report: "
 | |
|     }
 | |
| 
 | |
|     @GUI::TabWidget {
 | |
|         name: "tab_widget"
 | |
|         visible: false
 | |
|     }
 | |
| 
 | |
|     @GUI::Widget {
 | |
|         fixed_height: 32
 | |
|         layout: @GUI::HorizontalBoxLayout {}
 | |
| 
 | |
|         @GUI::Button {
 | |
|             name: "debug_button"
 | |
|             text: "Debug in Hack Studio"
 | |
|             fixed_width: 150
 | |
|         }
 | |
| 
 | |
|         @GUI::Button {
 | |
|             name: "save_backtrace_button"
 | |
|             text: "Save Backtrace"
 | |
|             fixed_width: 150
 | |
|         }
 | |
| 
 | |
|         // HACK: We need something like Layout::add_spacer() in GML! :^)
 | |
|         @GUI::Widget {}
 | |
| 
 | |
|         @GUI::Button {
 | |
|             name: "close_button"
 | |
|             text: "Close"
 | |
|             fixed_width: 70
 | |
|         }
 | |
|     }
 | |
| }
 |