Resize field type selection to fit screen
This commit is contained in:
		@ -98,7 +98,7 @@ protected:
 | 
			
		||||
    touchgfx::TextArea brakeLabel;
 | 
			
		||||
    touchgfx::Container dataFields;
 | 
			
		||||
    touchgfx::ScrollWheel fieldTypeSelection;
 | 
			
		||||
    touchgfx::DrawableListItems<DriverViewFieldSelection, 10> fieldTypeSelectionListItems;
 | 
			
		||||
    touchgfx::DrawableListItems<DriverViewFieldSelection, 8> fieldTypeSelectionListItems;
 | 
			
		||||
    DriverViewField field3;
 | 
			
		||||
    DriverViewField field2;
 | 
			
		||||
    DriverViewField field1;
 | 
			
		||||
 | 
			
		||||
@ -138,8 +138,8 @@ DriverViewViewBase::DriverViewViewBase() :
 | 
			
		||||
 | 
			
		||||
    add(brakeTemps);
 | 
			
		||||
 | 
			
		||||
    dataFields.setPosition(15, 48, 450, 305);
 | 
			
		||||
    fieldTypeSelection.setPosition(0, 80, 150, 225);
 | 
			
		||||
    dataFields.setPosition(15, 48, 450, 257);
 | 
			
		||||
    fieldTypeSelection.setPosition(0, 80, 150, 177);
 | 
			
		||||
    fieldTypeSelection.setHorizontal(false);
 | 
			
		||||
    fieldTypeSelection.setCircular(true);
 | 
			
		||||
    fieldTypeSelection.setEasingEquation(touchgfx::EasingEquations::linearEaseOut);
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user