You are not logged in.

#1 2017-05-22 12:26:09

techmod
Member
Registered: 2016-02-29
Posts: 20

[SOLVED] Displaying the digital clock in line instead of stacked (KDE)

Does someone know which file to change to display the systray clock in-line insread of stacked without changing theheight of the panel?

Last edited by techmod (2017-12-21 09:15:27)

Offline

#2 2017-05-22 12:36:46

phw
Member
Registered: 2013-05-27
Posts: 318

Re: [SOLVED] Displaying the digital clock in line instead of stacked (KDE)

You might want to add what desktop environment or panel you are talking about wink

Offline

#3 2017-12-21 09:12:43

techmod
Member
Registered: 2016-02-29
Posts: 20

Re: [SOLVED] Displaying the digital clock in line instead of stacked (KDE)

Hi, this one is pretty old (sorry for necrobumping) and also sorry for the huge delay but:

1. I use Plasma 5
2. I found the solution

You have to change the following. In

/usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml

go to line 57 and change its value from

readonly property bool oneLineMode: plasmoid.formFactor == PlasmaCore.Types.Horizontal && Math.round(2 * (main.height / 5)) <= theme.smallestFont.pixelSize

and simply change it to

readonly property bool oneLineMode: true

So the problem is solved. Don´t forget to save the file before editing.

Last edited by techmod (2017-12-21 09:13:59)

Offline

Board footer

Powered by FluxBB