Looking at "sizePolicy" did not help in designer, but changing the font to "Century Schoolbook L" did. ?????????
I have not had any success with the program that doesn't use designer. I don't understand how or where I should use "setSizePolicy(??)" .
A lot of Qt's documentation is beyond my capability to decipher, particularly Qt-4's.
This is my code
pb1->setFont(my);
pb1->setFixedHeight(28);
layoutButtonBox->addWidget( pb1 );
pb2->setFont( pb );
pb2->setFixedHeight(28);
layoutButtonBox->addWidget( pb2 );
layoutButtonBox = new QHBoxLayout();
buttonGroup = new QButtonGroup( this );
pb1 = new QPushButton ( "F1", this );
pb1->setFont(my);
pb1->setFixedHeight(28);
layoutButtonBox->addWidget( pb1 );
pb2 = new QPushButton( "F2", this );
pb2->setFont( pb );
pb2->setFixedHeight(28);
layoutButtonBox->addWidget( pb2 );
To copy to clipboard, switch view to plain text mode
changing the font here "my" to "pb" did not help.
thanks
Bookmarks