mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 14:02:46 +00:00 
			
		
		
		
	GTableView: add 'sortable' column header flag.
This prevents sorting unsortable by unsortable things, like icons.
This commit is contained in:
		
							parent
							
								
									57c92f943b
								
							
						
					
					
						commit
						823d5d097b
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		|  | @ -44,6 +44,7 @@ public: | |||
|     struct ColumnMetadata { | ||||
|         int preferred_width { 0 }; | ||||
|         TextAlignment text_alignment { TextAlignment::CenterLeft }; | ||||
| 	bool sortable { true }; | ||||
|         const Font* font { nullptr }; | ||||
|     }; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ignas S
						Ignas S