Fix Dataset Folder input layout in sidebar#491
Fix Dataset Folder input layout in sidebar#491vedcoder wants to merge 3 commits intoJdeRobot:masterfrom
Conversation
|
Hi! First of all, thanks for your interest. Your change fixes any wrapping problems indeed, but we would like to keep the browse button right on the right side of the text box, so that it is a bit consistent with the file_uploader widgets below. Can you find a solution for the wrapping issue while keeping button and box in the same row? Thanks! |
Use column ratio [3.5, 2] to keep Browse button on the same row as the text input, consistent with file_uploader widgets. Addresses reviewer feedback on PR JdeRobot#491. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9d0c6f1 to
3fcbb30
Compare
dpascualhe
left a comment
There was a problem hiding this comment.
Check the pending comment and we can merge upon resolving that
|
|
||
| # Second row: Path and Browse button | ||
| col1, col2 = st.columns([3, 1]) | ||
| col1, col2 = st.columns([3.5, 2]) |
There was a problem hiding this comment.
[3.5, 2.5] works best for me. Can you check in your setup? If it also works for you, please update it
There was a problem hiding this comment.
Hello, sorry for the delay, I was busy with me on going end semester examinations. [3.5, 2.5] works great for me too, updated the code as well
Fixes #490
Replaced the misaligned column layout (text_input + Browse button with hacky HTML spacer div) with a clean full-width text input and full-width Browse button, consistent with the other sidebar inputs.