As you can see, the strings get truncated at a fixed width when displayed inside the multiselect box, and I’m wondering if I could choose this width for myself, or choose to show the whole string.
I’ll just add that the font-size could also be modified to fit more in the label.
import streamlit as st
st.markdown("""
<style>
.stMultiSelect [data-baseweb=select] span{
max-width: 250px;
font-size: 0.6rem;
}
</style>
""", unsafe_allow_html=True)
st.multiselect("pick a long string",
[i*25 for i in "ABCDEWXYZ"])