Skip to content

Commit e66cb5b

Browse files
author
lgajos
committed
search form modality
1 parent 76b47c7 commit e66cb5b

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
}
77

88
group = 'notepack'
9-
version = '0.8.2'
9+
version = '0.8.3'
1010
description 'Privacy oriented, without vendor lock in note organizer desktop application.'
1111

1212
sourceCompatibility = 1.9

src/main/java/notepack/NoteTabContentController.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import javafx.scene.layout.AnchorPane;
2222
import javafx.stage.Modality;
2323
import javafx.stage.Stage;
24+
import javafx.stage.StageStyle;
2425
import notepack.app.domain.Note;
2526
import notepack.app.storage.PreferencesSettings;
2627

@@ -155,6 +156,9 @@ public void replace(String from, String to, boolean replaceAll) {
155156
stage.setTitle("Search/Replace");
156157
stage.setScene(scene);
157158
stage.initModality(Modality.WINDOW_MODAL);
159+
stage.initStyle(StageStyle.UTILITY);
160+
stage.setResizable(false);
161+
158162
stage.show();
159163

160164
} catch (IOException ex) {

0 commit comments

Comments
 (0)