Re: action factory and toolbars
Posted by
ravas on
URL: https://forum.librecad.org/action-factory-and-toolbars-tp5711930p5711942.html
You can control all icons at once with setIconSize.
I have custom size disabled by default.
Nothing is fixed.

void QC_ApplicationWindow::set_icon_size()
{
RS_SETTINGS->beginGroup("/Appearance");
bool custom_size = RS_SETTINGS->readNumEntry("/SetIconSize", 0);
if (custom_size)
{
int icon_size = RS_SETTINGS->readNumEntry("/IconSize", 24);
setIconSize(QSize(icon_size, icon_size));
}
RS_SETTINGS->endGroup();
}