Skip to content

Commit

Permalink
Merge pull request micro-manager#34 from henrypinkard/main
Browse files Browse the repository at this point in the history
nicer colors on windows
  • Loading branch information
henrypinkard authored Sep 22, 2023
2 parents 6da0576 + 8f772c0 commit f535738
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.micro-manager.ndviewer</groupId>
<artifactId>NDViewer</artifactId>
<version>0.10.0</version>
<version>0.10.1</version>
<packaging>jar</packaging>
<name>NDViewer image viewer</name>
<description>Java-based multidimensional image viewer</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,9 @@ public void stateChanged(javax.swing.event.ChangeEvent evt) {
);

Color niceBlue = new Color(0, 126, 255);
Color labelForeground = UIManager.getColor("Label.foreground");
Color labelForeground = Color.black;

// Get the default color of text
tabbedPane_.addTab("Contrast", contrastPanelPanel_);
tabbedPane_.setForegroundAt(0, niceBlue);
tabbedPane_.addTab("Metadata", metadataPanel_);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ private void initComponents() {


Color niceBlue = new Color(0, 126, 255);
Color labelForeground = UIManager.getColor("Label.foreground");
Color labelForeground = Color.black;

acqImageTabbedPane_.addChangeListener(e -> {
for (int i = 0; i < acqImageTabbedPane_.getTabCount(); i++) {
Expand Down

0 comments on commit f535738

Please sign in to comment.