DillonHammill / CytoExploreR

Interactive Cytometry Data Analysis
61 stars 13 forks source link

Channel Selector, Channel field is too narrow; make wider #44

Closed rwbaer closed 4 years ago

rwbaer commented 4 years ago

Is your feature request related to a problem? Please describe. Can observe from getting started demo. The right side channel dropdown selections are hidden unless they are less wide than the widest selected one. The channel field width only updates when an item from the selection list is entered.

Describe the solution you'd like I wish the channel field width was set to the widest channel selection item at the time it was constructed. Then, you could see Alexa Fluor 488-A was just that and not, for example, Alexa Fluor 565-A

Describe alternatives you've considered Just making the drop down list fit in the field might vary with monitor and theme settings that make this tougher than I might think. If so, consider just making the default field wider, like twice as wide by default, even if it wastes space sometimes. Seems like the code is there to make it accommodate the widest name though. Just do it up front.

Additional context Applies to all functions that might use channel selector. My viewing settings: My RStudio Appearance on 110% Editor Font Size 10. Display Monitor 3840 x 2169 at 150%

DillonHammill commented 4 years ago

@rwbaer, I have added the ability to manually resize columns for the channel selector. Simply hover your mouse over the right border of the column name, and then click and drag to resize the column. Note that this feature is not currently available for the experiment details editor or other data menus, but this is in the works.

Please pull down the latest version of CytoExploreR from GitHub:

devtools::install_github("DillonHammill/CytoExploreR")