mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:22:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			120 lines
		
	
	
	
		
			2.6 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			120 lines
		
	
	
	
		
			2.6 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| @GUI::Widget {
 | |
|     fill_with_background_color: true
 | |
|     layout: @GUI::VerticalBoxLayout {
 | |
|         margins: [8, 8, 8, 8]
 | |
|     }
 | |
| 
 | |
|     @GUI::Widget {
 | |
|         fixed_height: 30
 | |
|     }
 | |
| 
 | |
|     @GUI::Widget {
 | |
|         min_height: 160
 | |
|         layout: @GUI::HorizontalBoxLayout
 | |
| 
 | |
|         @GUI::Frame {
 | |
|             name: "tip_frame"
 | |
|             min_width: 340
 | |
|             min_height: 160
 | |
|             layout: @GUI::HorizontalBoxLayout {
 | |
|                 margins: [0, 16, 0, 0]
 | |
|             }
 | |
| 
 | |
|             @GUI::Widget {
 | |
|                 fixed_width: 60
 | |
|                 layout: @GUI::VerticalBoxLayout
 | |
| 
 | |
|                 @GUI::Label {
 | |
|                     name: "light_bulb_label"
 | |
|                     fixed_height: 60
 | |
|                 }
 | |
| 
 | |
|                 @GUI::Widget
 | |
|             }
 | |
| 
 | |
|             @GUI::Widget {
 | |
|                 layout: @GUI::VerticalBoxLayout
 | |
| 
 | |
|                 @GUI::Label {
 | |
|                     fixed_height: 60
 | |
|                     name: "did_you_know_label"
 | |
|                     text: "Did you know..."
 | |
|                     text_alignment: "CenterLeft"
 | |
|                     font_size: 12
 | |
|                     font_weight: "Bold"
 | |
|                 }
 | |
| 
 | |
|                 @GUI::Label {
 | |
|                     name: "tip_label"
 | |
|                     text_alignment: "TopLeft"
 | |
|                     word_wrap: true
 | |
|                     font_size: 12
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
| 
 | |
|         @Web::OutOfProcessWebView {
 | |
|             name: "web_view"
 | |
|             min_width: 340
 | |
|             min_height: 160
 | |
|             visible: false
 | |
|         }
 | |
| 
 | |
|         @GUI::Widget {
 | |
|             fixed_width: 3
 | |
|         }
 | |
| 
 | |
|         @GUI::Widget {
 | |
|             name: "navigation_column"
 | |
|             fixed_width: 115
 | |
|             min_height: 160
 | |
|             layout: @GUI::VerticalBoxLayout
 | |
| 
 | |
|             @GUI::Button {
 | |
|                 name: "new_button"
 | |
|                 text: "What's New"
 | |
|             }
 | |
| 
 | |
|             @GUI::Button {
 | |
|                 name: "help_button"
 | |
|                 text: "Help Contents"
 | |
|             }
 | |
| 
 | |
|             @GUI::Button {
 | |
|                 name: "next_button"
 | |
|                 text: "Next Tip"
 | |
|             }
 | |
| 
 | |
|             @GUI::Widget
 | |
| 
 | |
|             @GUI::HorizontalSeparator {
 | |
|                 fixed_height: 2
 | |
|             }
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     @GUI::Widget {
 | |
|         fixed_height: 5
 | |
|     }
 | |
| 
 | |
|     @GUI::Widget {
 | |
|         fixed_height: 24
 | |
|         layout: @GUI::HorizontalBoxLayout {
 | |
|         }
 | |
| 
 | |
|         @GUI::CheckBox{
 | |
|             name: "startup_checkbox"
 | |
|             text: "Show Welcome the next time SerenityOS starts"
 | |
|             autosize: true
 | |
|         }
 | |
| 
 | |
|         @GUI::Widget
 | |
| 
 | |
|         @GUI::Button {
 | |
|             name: "close_button"
 | |
|             text: "Close"
 | |
|             fixed_width: 115
 | |
|             fixed_height: 24
 | |
|         }
 | |
|     }
 | |
| }
 | 
