Compute and use custom color for Add Content panel background
- Issue MatterHackers/MCCentral#5357 Library pop up starting with wrong colors
This commit is contained in:
parent
add34dbfd8
commit
c3ad880c94
1 changed files with 4 additions and 1 deletions
|
|
@ -599,7 +599,10 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
|
||||
var systemWindow = this.Parents<SystemWindow>().FirstOrDefault();
|
||||
|
||||
var printLibraryWidget = new PrintLibraryWidget(mainViewWidget, workspace, theme, libraryPopup)
|
||||
// Compute slight highlight of openColor for use as listView background color
|
||||
var slightHighlight = theme.ResolveColor(openColor, Color.White.WithAlpha(theme.IsDarkTheme ? 10 : 50));
|
||||
|
||||
var printLibraryWidget = new PrintLibraryWidget(mainViewWidget, workspace, theme, slightHighlight, libraryPopup)
|
||||
{
|
||||
HAnchor = HAnchor.Stretch,
|
||||
VAnchor = VAnchor.Absolute,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue