5167
Pathfinder; Radius Adjust Not Showing Up In Bend Operation on Single Folders
Pathfinder

Changes made for Pathfinder V5 PC's.

Summary

Fixed truncation issue in Machine Operations UI where RadiusAdjustment field and other parameters were not visible in operation details due to incorrect height calculation.

Problem

  • RadiusAdjustment field (row 25) was not visible in NormalBend operations despite being enabled
  • Different operation types (NormalBend vs CloseHem) showed different fields due to visual truncation
  • Operations displayed excessive blank space at the bottom when fields were hidden

Root Cause

  • TableLayoutPanel used AutoSize row styles, preventing proper row collapse when height set to 0
  • Height calculation used fixed base (942px) minus hidden row count, which didn't account for specific row positions
  • Different operations hide different rows, causing inconsistent visibility of fields at higher row indices

Solution

Files Modified:

  • AMS.Pathfinder.ViewPresenter\UserControls\MachineSteps\Operations
    MachineStepsOperationBase.Designer.cs
  • AMS.Pathfinder.ViewPresenter\UserControls\MachineSteps\Operations
    MachineStepsOperationBase.cs

Changes:

  1. Changed all 30 TableLayoutPanel RowStyles from SizeType.AutoSize to SizeType.Absolute (30px)
  2. Updated GetDesiredHeight() method to dynamically sum actual RowStyles heights instead of using fixed calculation
  3. Corrected overhead calculation to include both summary section (42px) and batch/enable row (36px)

Result:

  • RadiusAdjustment and other fields now display correctly when enabled
  • No blank space at bottom - each operation sizes to fit only visible content
  • Operations independently size based on their specific hidden/visible row configuration