Skip to content

Commit

Permalink
bugfix: Floppy GUI panel didn't show the select file buttons anymore (f…
Browse files Browse the repository at this point in the history
…ixes #1331)
  • Loading branch information
midwan committed May 23, 2024
1 parent 28e91e2 commit 25834ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/osdep/gui/PanelFloppy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -540,11 +540,11 @@ void InitPanelFloppy(const config_category& category)
{
posX = DISTANCE_BORDER;
category.panel->add(chkDFx[i], posX, posY);
posX += chkDFx[i]->getWidth() + DISTANCE_NEXT_X * 2;
posX += chkDFx[i]->getWidth() + DISTANCE_NEXT_X;
category.panel->add(cboDFxType[i], posX, posY);
posX += cboDFxType[i]->getWidth() + DISTANCE_NEXT_X * 2;
posX += cboDFxType[i]->getWidth() + DISTANCE_NEXT_X;
category.panel->add(chkDFxWriteProtect[i], posX, posY);
posX += 3 + chkDFxWriteProtect[i]->getWidth() + 4 * DISTANCE_NEXT_X;
posX += 3 + chkDFxWriteProtect[i]->getWidth() + 3 * DISTANCE_NEXT_X;
category.panel->add(cmdDFxInfo[i], posX, posY);
posX += cmdDFxInfo[i]->getWidth() + DISTANCE_NEXT_X;
category.panel->add(cmdDFxEject[i], posX, posY);
Expand Down

0 comments on commit 25834ad

Please sign in to comment.