mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-22 22:45:21 +01:00
Merge pull request #2689 from ripcurlx/adapt-update-popup
Adapt update popup
This commit is contained in:
commit
e5f4299a77
2 changed files with 4 additions and 6 deletions
|
@ -122,12 +122,12 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
|
|||
|
||||
@SuppressWarnings("PointlessBooleanExpression")
|
||||
public static void blurLight() {
|
||||
transitions.blur(MainView.rootContainer, Transitions.DEFAULT_DURATION, -0.1, false, 5);
|
||||
transitions.blur(MainView.rootContainer, Transitions.DEFAULT_DURATION, -0.6, false, 5);
|
||||
}
|
||||
|
||||
@SuppressWarnings("PointlessBooleanExpression")
|
||||
public static void blurUltraLight() {
|
||||
transitions.blur(MainView.rootContainer, Transitions.DEFAULT_DURATION, -0.1, false, 2);
|
||||
transitions.blur(MainView.rootContainer, Transitions.DEFAULT_DURATION, -0.6, false, 2);
|
||||
}
|
||||
|
||||
@SuppressWarnings("PointlessBooleanExpression")
|
||||
|
|
|
@ -90,8 +90,9 @@ public class DisplayUpdateDownloadWindow extends Overlay<DisplayUpdateDownloadWi
|
|||
public void show() {
|
||||
width = 968;
|
||||
// need to set headLine, otherwise the fields will not be created in addHeadLine
|
||||
headLine = Res.get("displayUpdateDownloadWindow.headline");
|
||||
createGridPane();
|
||||
information(""); // to set regular information styling
|
||||
headLine = Res.get("displayUpdateDownloadWindow.headline");
|
||||
addHeadLine();
|
||||
addContent();
|
||||
addButtons();
|
||||
|
@ -104,9 +105,6 @@ public class DisplayUpdateDownloadWindow extends Overlay<DisplayUpdateDownloadWi
|
|||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
private void addContent() {
|
||||
headLine = "Important update information!";
|
||||
headLineLabel.getStyleClass().addAll("headline-label", "highlight");
|
||||
|
||||
checkNotNull(alert, "alertMessage must not be null");
|
||||
addMultilineLabel(gridPane, ++rowIndex, alert.getMessage(), 10);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue