MarcinOrlowski / html-clock-plasmoid

Configurable and lightweight clock widget for KDE. Stylable with QT supported subset of HTML markup, supporting variety of usable placeholders to design clock widget as you like.
67 stars 6 forks source link

Fonts and default layout are not being saved #46

Closed p0lygun closed 1 year ago

p0lygun commented 2 years ago

What's wrong? Please put a clear and concise description of what the bug is. there is no option to apply when I change the font in user layout Steps to reproduce the behavior:

  1. Make sure user layout is enabled
  2. Try changing font,
  3. Button to apply still disabled

Expected behavior It should let me update font

Runtime environment

Notes Any additional information that may be helpful diagnosing the problem. i am trying to make a vertical clock with minutes and seconds on the side, my layout

<body width="100%" height="100%" style="font-family: Sevensegment; font-size: 20px;">

    <span style="font-size:30px; color:#d703fc; font-weight:bold">{kk}</span>
    <span style="font-size:15px; color: #{flip:00:FF}ffffff;">:</span>
    <table>
        <tr>
            <td style="align: center;">
                <span style="font-size:10px; color:#d703fc; font-weight:bold">{ii}</span>
            </td>
        </tr>
        <tr>
            <td style="align: center;">
                <span
                    style="font-size:10px; color:#d703fc; font-weight:bold; float:right;">{ss}</span>
            </td>
        </tr>
    </table>                
</body>

result

image

and the buttons on the user layout are also not showing

image

p0lygun commented 2 years ago

Gif to show the error bug_report

MarcinOrlowski commented 1 year ago

You are confused because version you use is broken and do not expose all the buttons you should see in that layout. Please upgrade to 1.6.3 that have this fixed. Also please see docs on how fonts helper is designed to work (it is not altering your layout)