mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 00:42:44 +00:00 
			
		
		
		
	LibGUI: Decrease the default ToolBar height a little bit
This commit is contained in:
		
							parent
							
								
									56c73f03ce
								
							
						
					
					
						commit
						7da7bbe6f9
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -39,10 +39,10 @@ ToolBar::ToolBar(Orientation orientation, int button_size) | ||||||
| { | { | ||||||
|     if (orientation == Orientation::Horizontal) { |     if (orientation == Orientation::Horizontal) { | ||||||
|         set_size_policy(SizePolicy::Fill, SizePolicy::Fixed); |         set_size_policy(SizePolicy::Fill, SizePolicy::Fixed); | ||||||
|         set_preferred_size(0, button_size + 12); |         set_preferred_size(0, button_size + 10); | ||||||
|     } else { |     } else { | ||||||
|         set_size_policy(SizePolicy::Fixed, SizePolicy::Fill); |         set_size_policy(SizePolicy::Fixed, SizePolicy::Fill); | ||||||
|         set_preferred_size(button_size + 12, 0); |         set_preferred_size(button_size + 10, 0); | ||||||
|     } |     } | ||||||
|     set_layout<BoxLayout>(orientation); |     set_layout<BoxLayout>(orientation); | ||||||
|     layout()->set_spacing(0); |     layout()->set_spacing(0); | ||||||
|  | @ -84,7 +84,7 @@ public: | ||||||
|     SeparatorWidget() |     SeparatorWidget() | ||||||
|     { |     { | ||||||
|         set_size_policy(SizePolicy::Fixed, SizePolicy::Fixed); |         set_size_policy(SizePolicy::Fixed, SizePolicy::Fixed); | ||||||
|         set_preferred_size(8, 22); |         set_preferred_size(8, 18); | ||||||
|     } |     } | ||||||
|     virtual ~SeparatorWidget() override {} |     virtual ~SeparatorWidget() override {} | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling