<table><tr><td style="">davidedmundson added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D6764" rel="noreferrer">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>i don't think i like the idea of adding yet another setting on this already rather fragile code</p></blockquote>
<p>I think this explains why you haven't had a review, this existing code is already sketchy as-is :/<br />
But we should be trying to fix that not just all of us ignoring it. Sorry about that.</p>
<p>So this clock has 4 states:</p>
<ol class="remarkup-list">
<li class="remarkup-list-item">horizontal</li>
<li class="remarkup-list-item">horizontal small (date and tz appear alongside clock)</li>
<li class="remarkup-list-item">vertical</li>
<li class="remarkup-list-item">other ()</li>
</ol>
<p>Currently:<br />
1 & 2 choose the font size to fill the space vertically indefinitely<br />
3 chooses the font size that fits the space horizontally up to 3x normal font size<br />
4 is... frankly unreadable.</p>
<p>With your patch:<br />
in states 1 and 2 you're explicitly setting the time zone label to a config value, and implicitly the date and TZ label to 0.7 of that.</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">I could understand logic that limits the maximiumSize to a user defined value, but I don't want to be in a position where the user resizes a panel..then has to open all the config options of each widget and adjust things.
Would keeping the fit mode but setting the maximumPixelSize to the config value work for you?</pre></div>
<p>States 3 and 4 are unchanged:</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">I don't really want to have a config option that simply does nothing. Is there a reason it's not changed?</pre></div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D6764" rel="noreferrer">https://phabricator.kde.org/D6764</a></div></div><br /><div><strong>To: </strong>januz, Plasma, VDG<br /><strong>Cc: </strong>davidedmundson, ngraham, Zren, mart, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol<br /></div>