Minor issue: AlertWindow uses a fixed height for TextEditor fields (and ComboBox)

The height of 22 pixels is hardcoded in AlertWindow::updateLayout. When using a quite large font (like with a height of 30), the buttons and static text are correctly resized, but the TextEditor keeps its default height and its font does not fit anymore.

Maybe we could replace the
h = 22;

with:
h = std::max<int>(22, getLookAndFeel().getAlertWindowMessageFont().getHeight()*1.2);

1 Like