Is there a way to fit a text inside a node, without resizing the node, rather than fit a node around some text (which, of course, would resize the node)?
Output (first triangle is empty and is exactly the minimum size; second triangle is still the same size as first):

Code:
\documentclass[border=5mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric,positioning}
\begin{document}
\begin{tikzpicture}
% ORIGINAL SIZE (NO CONTENT)
\path node
[%
isosceles triangle,
shape border rotate=90,
isosceles triangle apex angle=60,
inner sep=0mm,
outer sep=0mm,
minimum size=20mm,
draw=green,fill=green!40
](T1){};
% CONTENT FITS (NO EFFECT ON SIZE)
\path node
[%
isosceles triangle,
shape border rotate=90,
isosceles triangle apex angle=60,
inner sep=0mm,
outer sep=0mm,
minimum size=20mm,
draw=green,fill=green!40,text=red,
right=0mm of T1.right corner,
anchor=left corner
](T2){within};
% TOO MUCH CONTENT (SIZE AFFECTED)
\path node
[%
isosceles triangle,
shape border rotate=90,
isosceles triangle apex angle=60,
inner sep=0mm,
outer sep=0mm,
minimum size=20mm,
draw=red,fill=red!40,text=red,
right=0mm of T2.right corner,
anchor=left corner
](T3){OUTSIDE OF MINIMUM SIZE};
% QUESTION
\path node
[%
align=left,
below=2mm of T3
]
{How to make contents\\
of last triangle scale-down\\
so they don't enlarge the triangle?
};
\end{tikzpicture}
\end{document}



\scalebox{.4}{OUTSIDE OF MINIMUM SIZE}– AndréC Sep 04 '17 at 07:00