2023-12-05 Fred Gleason <fredg@paravelsystems.com>

* Reduced the minimum size of rdairplay(1) to 1280x870 so as to fit
	on a 1280x1024 display.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2023-12-05 10:21:43 -05:00
parent 0a862c68b5
commit 6071fd7b23
3 changed files with 6 additions and 3 deletions

View File

@@ -283,8 +283,8 @@ void RDButtonPanel::resizeEvent(QResizeEvent *e)
{
for(int i=0;i<PANEL_MAX_BUTTON_ROWS;i++) {
for(int j=0;j<PANEL_MAX_BUTTON_COLUMNS;j++) {
panel_button[i][j]->setGeometry((15+PANEL_BUTTON_SIZE_X)*j,
(15+PANEL_BUTTON_SIZE_Y)*i,
panel_button[i][j]->setGeometry((14+PANEL_BUTTON_SIZE_X)*j,
(14+PANEL_BUTTON_SIZE_Y)*i,
PANEL_BUTTON_SIZE_X,
PANEL_BUTTON_SIZE_Y);
}