burlog / plasmoid-sysmon

KDE5 System Monitor Engine Visualisation Plasmoid
GNU General Public License v2.0
15 stars 7 forks source link

No source names shown #6

Open zone31 opened 6 years ago

zone31 commented 6 years ago

image

As seen in the picture, none of the sources have names. I used the downloader from the widgets chooser. Using KDE neon, fresh install.

nmalky commented 5 years ago

If you look really closely, the sources do have names, but they're nearly invisible. I solved this for myself by setting the text colour to blue.

com.github.burlog.plasmoid-sysmon/contents/ui/SystemMonitorDataSourceConfig.qml:

            // the second column with source name
            QtControls.TableViewColumn {
                id: name_col

                role: "name"
                title: i18n("Source Name")

                // rest of table
                width: sysmon_sources_view.width - selected_col.width - 32

                delegate: PlasmaComponents.Label {
                    text: model.name
                    color: "blue"

                    MouseArea {
                        anchors.fill: parent
                        hoverEnabled: true
                        onClicked: {
                            if (model) model.checked = !model.checked
                            configurationChanged(model)
                        }
                    }
                }