mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:12:43 +00:00 
			
		
		
		
	 a1eadc755d
			
		
	
	
		a1eadc755d
		
	
	
	
	
		
			
			Instead of having a single uniform margin around the child content of a TabWidget, use a GUI::Margins to allow individual per-edge margins.
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			382 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			382 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| @GUI::Widget {
 | |
|     name: "browser"
 | |
|     fill_with_background_color: true
 | |
| 
 | |
|     layout: @GUI::VerticalBoxLayout
 | |
| 
 | |
|     @GUI::HorizontalSeparator {
 | |
|         name: "top_line"
 | |
|         fixed_height: 2
 | |
|         visible: false
 | |
|     }
 | |
| 
 | |
|     @GUI::TabWidget {
 | |
|         name: "tab_widget"
 | |
|         container_margins: [0, 0, 0, 0]
 | |
|         uniform_tabs: true
 | |
|         text_alignment: "CenterLeft"
 | |
|     }
 | |
| }
 |