<table><tr><td style="">mikhailru created this revision.<br />mikhailru added a reviewer: LabPlot.<br />mikhailru added a project: LabPlot.<br />Herald added a project: KDE Edu.<br />Herald added a subscriber: kde-edu.<br />mikhailru requested review of this revision.
</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/D16839">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The color of default plot axes labels is taken from the theme. This<br />
results in the labels being barely visible when using dark Qt<br />
theme (e.g. Breeze Dark). Because plot background is white by default<br />
independently of the Qt theme, it makes sense to force black color for<br />
unstyled axes labels (TextLabels). This patch does not affect<br />
rendering of styled TextLabels.</p>

<p>BUG: 400968</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>0. Set color theme to Breeze Dark</p>

<ol class="remarkup-list">
<li class="remarkup-list-item">Create new project, new spreadsheet</li>
<li class="remarkup-list-item">"Generate data -> row numbers" on both columns</li>
<li class="remarkup-list-item">"Plot data -> xy-Curve"</li>
<li class="remarkup-list-item">Axes labels should be black by default</li>
<li class="remarkup-list-item">Change axis label foreground color to a different one (e.g. red)</li>
<li class="remarkup-list-item">Label should be red now</li>
</ol></div></div><br /><div><strong>REPOSITORY</strong><div><div>R262 LabPlot</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D16839">https://phabricator.kde.org/D16839</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/backend/worksheet/TextLabel.cpp</div></div></div><br /><div><strong>To: </strong>mikhailru, LabPlot<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>