Bug 157572 - Digital Clock plasmoid shoud allow one to change font size.
Summary: Digital Clock plasmoid shoud allow one to change font size.
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-clock (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-10 04:29 UTC by Joshua
Modified: 2008-07-17 16:19 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua 2008-02-10 04:29:06 UTC
Version:            (using KDE 4.0.0)
Installed from:    SuSE RPMs
OS:                Linux

The digital clock plasmoid should allow for configuration of the font size.  This means that the configuration dialog will need to be rearranged a bit to accommodate for this addition.  I have actually did some modifications to the source and ui file to do this for myself.  It currently works satisfactory but I am not eager to commit it as there are many other bugs with the digital clock that must be worked out, such as resizing itself to fit containments or according to its font size.

If someone would like the code and/or the ui file that I created, please contact me.
Comment 1 Aaron J. Seigo 2008-02-10 08:09:51 UTC
No, the applet needs to adjust the font based on the available size. Setting the font size would put a required size on the applet, which would prevent arbitrary resizing and resolution independence.
Comment 2 Joshua 2008-02-10 16:54:54 UTC
Ok, so does this mean in the future the applet itself will be resizable within the panel so that it will paint a smaller font if one desired? (As it will adjust font to its availble size).  This was the main reason for the suggestion, as I didn't find a way to resize the applet without resizing the actual panel. On the desktop it works out pretty well though.

Thanks.
Comment 3 Aaron J. Seigo 2008-02-11 01:48:06 UTC
> the applet itself will be resizable within the panel

precisely! =)

in fact, this is how it already works from the perspective of the clock, we just don't have the user-facing interaction for it yet (coming for 4.1, maybe backport to 4.0.x)
Comment 4 m.wege 2008-07-17 16:19:11 UTC
Still it would be great to choose the font size in relation to the panel size.