mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 13:12:46 +00:00 
			
		
		
		
	LibGUI: Add HorizontalSplitter and VerticalSplitter convenience classes
This commit is contained in:
		
							parent
							
								
									8bb75084fd
								
							
						
					
					
						commit
						6a71ba1deb
					
				
					 10 changed files with 37 additions and 13 deletions
				
			
		|  | @ -103,7 +103,7 @@ int main(int argc, char** argv) | |||
| 
 | ||||
|     auto location_textbox = GUI::TextEditor::construct(GUI::TextEditor::SingleLine, location_toolbar); | ||||
| 
 | ||||
|     auto splitter = GUI::Splitter::construct(Orientation::Horizontal, widget); | ||||
|     auto splitter = GUI::HorizontalSplitter::construct(widget); | ||||
|     auto tree_view = GUI::TreeView::construct(splitter); | ||||
|     auto directories_model = GUI::FileSystemModel::create("/", GUI::FileSystemModel::Mode::DirectoriesOnly); | ||||
|     tree_view->set_model(directories_model); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling