Skip to content
Snippets Groups Projects
Commit 594a07ae authored by Tobias Ullerich's avatar Tobias Ullerich
Browse files

#168 - Remove file chooser icon on pads with files

parent 609f5e61
No related branches found
No related tags found
No related merge requests found
......@@ -293,12 +293,12 @@ public class DesktopPadView implements IPadView {
if (pad.getContent() != null) {
if (pad.getContent() instanceof Pauseable) {
if (pad.getStatus() == PadStatus.PLAY) {
buttonBox.getChildren().setAll(pauseButton, stopButton, newButton, settingsButton);
buttonBox.getChildren().setAll(pauseButton, stopButton, settingsButton);
} else {
buttonBox.getChildren().setAll(playButton, stopButton, newButton, settingsButton);
buttonBox.getChildren().setAll(playButton, stopButton, settingsButton);
}
} else {
buttonBox.getChildren().setAll(playButton, stopButton, newButton, settingsButton);
buttonBox.getChildren().setAll(playButton, stopButton, settingsButton);
}
} else {
buttonBox.getChildren().setAll(newButton, settingsButton);
......
......@@ -2,7 +2,7 @@ package de.tobias.playpad.design;
public class ModernDesignSizeHelper {
private static final double MIN_WIDTH = 165;
private static final double MIN_WIDTH = 140;
private static final double MIN_HEIGHT = 115;
private ModernDesignSizeHelper() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment