From fdee1b70effbb89950d4f84f0d2cdfa1f0272957 Mon Sep 17 00:00:00 2001 From: Brandon Date: Wed, 1 May 2024 17:35:23 -0700 Subject: [PATCH] minor ui updates --- .../lightsheetmanager/gui/LightSheetManagerFrame.java | 7 +++---- .../gui/tabs/channels/ChannelTablePanel.java | 8 +++++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/main/java/org/micromanager/lightsheetmanager/gui/LightSheetManagerFrame.java b/src/main/java/org/micromanager/lightsheetmanager/gui/LightSheetManagerFrame.java index dd0f737..495651c 100644 --- a/src/main/java/org/micromanager/lightsheetmanager/gui/LightSheetManagerFrame.java +++ b/src/main/java/org/micromanager/lightsheetmanager/gui/LightSheetManagerFrame.java @@ -168,14 +168,13 @@ public void toggleLiveMode() { // Note: doesn't seem to work for all cameras @Subscribe public void liveModeListener(LiveModeEvent event) { - if (!studio_.live().isLiveModeOn()) { - } - //System.out.println("LIVE MODE!"); +// if (!studio_.live().isLiveModeOn()) { +// } } @Subscribe public void onExposureChanged(ExposureChangedEvent event) { - System.out.println("Exposure changed!"); +// System.out.println("Exposure changed!"); } } \ No newline at end of file diff --git a/src/main/java/org/micromanager/lightsheetmanager/gui/tabs/channels/ChannelTablePanel.java b/src/main/java/org/micromanager/lightsheetmanager/gui/tabs/channels/ChannelTablePanel.java index a23117c..87b5d53 100644 --- a/src/main/java/org/micromanager/lightsheetmanager/gui/tabs/channels/ChannelTablePanel.java +++ b/src/main/java/org/micromanager/lightsheetmanager/gui/tabs/channels/ChannelTablePanel.java @@ -40,7 +40,7 @@ private void createUserInterface() { table_ = new ChannelTable(model_); - Button.setDefaultSize(72, 24); + Button.setDefaultSize(74, 24); btnAddChannel_ = new Button("Add"); btnRemoveChannel_ = new Button("Remove"); btnRefresh_ = new Button("Refresh"); @@ -51,10 +51,12 @@ private void createUserInterface() { final String[] groupLabels = table_.getAvailableGroups(); cmbChannelGroup_ = new ComboBox(groupLabels, - model_.acquisitions().settings().channelGroup()); + model_.acquisitions().settings().channelGroup(), + 120, 22); cmbChannelMode_ = new ComboBox(MultiChannelMode.toArray(), - model_.acquisitions().settings().channelMode().toString()); + model_.acquisitions().settings().channelMode().toString(), + 120, 22); add(lblChannelGroup_, "split 2"); add(cmbChannelGroup_, "wrap");