Make GUI more adaptive to the width of the pane
Is your feature request related to a problem? Please describe. When using the chat in the side bar some important indicator (tokens) is hidden, when the filename is shown.
https://github.com/user-attachments/assets/eca221fc-4dfa-4f11-b79e-b37e09047a96
Describe the solution you'd like How about making the top and bottom bar more adaptive to the width of the pane.
Describe alternatives you've considered
- You might reduce the filename view dynamically to let the token indicator visible longer.
- You might move the token indicator to the left of the top-bar and habe the actions "Save", "Load", "Clear" as toolbuttons as in other panes:
...
I would of course replace the text buttons with icons if someone drew them for me :grin:
I'm not sure, if it is ok to use icons, that are used in QtCreator for plugins. But if it is allowed, it might be good to use them to conform to the icons used in other panes: As this changed between QtC 16 and 17 it might be beneficial to import them from it's source?
Reset/Clear ?
https://github.com/qt-creator/qt-creator/blob/master/src/libs/utils/images/filenew.png
https://github.com/qt-creator/qt-creator/blob/master/src/libs/utils/images/filenew%402x.png
or clean, but actually it generates a new context:
https://github.com/qt-creator/qt-creator/blob/master/src/libs/utils/images/clean_pane_small.png
https://github.com/qt-creator/qt-creator/blob/master/src/libs/utils/images/clean_pane_small%402x.png
Save:
https://github.com/qt-creator/qt-creator/blob/master/src/libs/utils/images/filesave.png
https://github.com/qt-creator/qt-creator/blob/master/src/libs/utils/images/filesave%402x.png
Open:
https://github.com/qt-creator/qt-creator/blob/master/src/libs/utils/images/fileopen.png
https://github.com/qt-creator/qt-creator/blob/master/src/libs/utils/images/fileopen%402x.png
There is also a stop icon:
https://github.com/qt-creator/qt-creator/blob/master/src/libs/utils/images/stop_small.png
https://github.com/qt-creator/qt-creator/blob/master/src/libs/utils/images/stop_small%402x.png
There is a "run" icon, that might be used for "send":
https://github.com/qt-creator/qt-creator/blob/master/src/libs/utils/images/run_small.png
https://github.com/qt-creator/qt-creator/blob/master/src/libs/utils/images/run_small%402x.png
I added new icons to UI, hope it is better now
I like the new icons and the idea, that the Chat dialog is a separate window. However, took some time to find the "Show QodeAssist Chat" button...
Thank you for testing, I just want to remind you that this window is also accessible via hotkeys, and the old chat locations are available to enable in the settings