Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color leakage in OneCategoryLayout #134

Open
trixon opened this issue Sep 17, 2019 · 0 comments
Open

Color leakage in OneCategoryLayout #134

trixon opened this issue Sep 17, 2019 · 0 comments

Comments

@trixon
Copy link

trixon commented Sep 17, 2019

When having a OneCategoryLayout on a custom WorkbenchFX style I'm getting two unwanted artifacts.

  1. The purple row where the undo/redo buttons are.
  2. A thin purple box around all the settings. (ok, the background, not a box)
    2019-09-17-214312_1049x835_scrot

By replacing

with

    public void layoutParts() {
        // but always add the categoryController
        contentBox.getChildren().addAll(breadCrumbView, categoryController);
        VBox.setVgrow(categoryController, Priority.ALWAYS);

        preferencesPane.setDetailSide(Side.LEFT);
        preferencesPane.setDetailNode(navigationView);
        preferencesPane.setMasterNode(contentBox);
        preferencesPane.setShowDetailNode(!model.isOneCategoryLayout());
        setCenter(preferencesPane);
    }

I get the wanted result.
2019-09-17-214406_1049x835_scrot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant