How to change the SIZE of a progress bar at runtime, not the percentage that it is filled.

The following is a description of Widget.h

// [PropertyMetadata] This property requires a widget be bound to it in the designer.  Allows easy native access to designer defined controls.
// UPROPERTY(meta=(BindWidget))
BindWidget,

BindWidget is available in a limited number of locations
To change only the size of the progress bar, give UStaminaWidget the UProgressBar* property and write the specifier UPROPERTY(BlueprintReadWrite, meta = (BindWidget)) as follows.

UPROPERTY(BlueprintReadWrite, meta = (BindWidget))
UProgressBar* StaminaBar;

Then resize it using UCanvasPanelSlot.

void UStaminaWidget::SetStaminaBarSize(FVector2D DesiredSize)
{
	UCanvasPanelSlot* CanvasSlot = Cast<UCanvasPanelSlot>(StaminaBar->Slot);
	if (CanvasSlot)
	{
		CanvasSlot->SetSize(DesiredSize);
	}
}