DenysMb / ChatAI-Plasmoid

A range of chatbots as Plasmoid for your KDE Plasma desktop
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

Font Color #12

Closed samirgaire10 closed 1 week ago

samirgaire10 commented 1 week ago

"After restarting or logging out of my PC and then opening this widget, I noticed that both the font from the 'AI selection' heading and the background are black. This makes it difficult to view and read the content effectively."

making it hard to read

Screenshot_20240619_111717

DenysMb commented 1 week ago

I saw this behavior in another widget, I thought that this was something "out of my control". But I'll check if I can just change the text color of the options in the combobox. If it's possible, I can use theme colors to fix this. I'll have a look.

DenysMb commented 1 week ago

Fixed in https://github.com/DenysMb/ChatAI-Plasmoid/commit/d7c38683cb5bfcf1f7dc03e8908a5373d931f38c The ComboBox from Plasma Components doesn't accept an array of objects as model. I was using QT ComboBox because of this, but this was causing this issue. Now I am using the ComboBox from PlasmaComponents but for that I needed to add a little logic in the code (since now I am using an array of strings instead of an array of object).