Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help on the User Interface
#2
You have to look Streamlit docs.
Guess few here know this library,and you not posted any code.
It's of course build with HTML/CSS in bottom as work in browsers,but calling it i guess the use mostly own wrappers to make the experience easier.
So they will have own method to change color.

You have green color on text and output an other color may work better.
If i take i quick look.
# Show the input back to the user with colored text
st.write(f'<span style="color:blue">Hello, {user_input}! Welcome to Streamlit</span>', unsafe_allow_html=True)
So can use standard HTML/CSS if use unsafe allow.
Reply


Messages In This Thread
Help on the User Interface - by Afia - Jul-21-2023, 04:51 PM
RE: Help on the User Interface - by snippsat - Jul-21-2023, 07:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  user interface Button not working Frankduc 4 1,543 Feb-16-2022, 02:52 PM
Last Post: Frankduc
  in a login interface when i try login with a user supposed to say test123 but nothing NullAdmin 3 2,381 Feb-20-2021, 04:43 AM
Last Post: bowlofred
  Help with User Interface design code ai_masti 0 1,979 Nov-19-2020, 05:58 PM
Last Post: ai_masti
  os.system("netsh interface set interface 'Wi-Fi' enabled") aniyanetworks 12 10,535 Jan-18-2019, 04:07 AM
Last Post: aniyanetworks

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020