If I reduce the size of the created figure, I need to increase the text size of PlantUML.
The following statement inside @startuml leads to smaller text but increases the rectangles.
skinparam defaultFontSize 25
Using a size like 5 does the opposite. It changes the font size to a bigger font than normal but the rectangles are decreasing and the text doesn't fit anymore to the boxes.
\begin{figure}[H]
\centering
\begin{subfigure}[b]{0.20\linewidth}
\catcode`\#12
\begin{plantuml}
@startuml
skinparam defaultFontSize 5
start
if (Number) is ( < 5 ) then
:Number++;
endif
stop
@enduml
\end{plantuml}
\catcode`\#13
\end{subfigure}
\end{figure}
Thanx in advance