mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Fine tune the position of pictures in the profile
Start a new column a little bit earlier otherwise it will get difficult to fit a high number of pictures. Don't put more than ~16 pictures in one column. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
		
							parent
							
								
									003e490dd2
								
							
						
					
					
						commit
						7bc77947f6
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -2014,7 +2014,7 @@ void ProfileWidget2::plotPictures()
 | 
				
			||||||
		x = timeAxis->posAtValue(offsetSeconds);
 | 
							x = timeAxis->posAtValue(offsetSeconds);
 | 
				
			||||||
		if (i == 0)
 | 
							if (i == 0)
 | 
				
			||||||
			y = 10;
 | 
								y = 10;
 | 
				
			||||||
		else if (fabs(x - lastX) < 4)
 | 
							else if (fabs(x - lastX) < 3 && lastY <= (10 + 14 * 3))
 | 
				
			||||||
			y = lastY + 3;
 | 
								y = lastY + 3;
 | 
				
			||||||
		else
 | 
							else
 | 
				
			||||||
			y = 10;
 | 
								y = 10;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue