Skip to content

Commit

Permalink
VectorGraph_style_css_implemented_partially2
Browse files Browse the repository at this point in the history
  • Loading branch information
szeli1 committed Apr 15, 2024
1 parent 8a4dd18 commit 89b7fdf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions data/themes/default/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ lmms--gui--Knob {
qproperty-arcInactiveColor: rgba(120, 120, 120, 70);
}

lmms--gui--VectorGraph {
qproperty-vectorGraphDefaultAutomatedColor: rgba(69,42,153,180);
qproperty-vectorGraphDefaultLineColor: rgba(120, 120, 120, 255);
qproperty-vectorGraphDefaultActiveColor: rgba(120, 120, 120, 255);
qproperty-vectorGraphDefaultFillColor: rgba(120, 120, 120, 255);
lmms--gui--VectorGraphView {
qproperty-vectorGraphDefaultAutomatedColor: rgba(69, 42, 153, 180);
qproperty-vectorGraphDefaultLineColor: rgb(55, 10, 250);
qproperty-vectorGraphDefaultActiveColor: #452a99;
qproperty-vectorGraphDefaultFillColor: #452a99;
qproperty-vectorGraphSecondaryLineColor: rgba(120, 120, 120, 255);
qproperty-vectorGraphSecondaryActiveColor: rgba(120, 120, 120, 255);
qproperty-vectorGraphSecondaryFillColor: rgba(120, 120, 120, 255);
Expand Down
1 change: 1 addition & 0 deletions src/gui/widgets/VectorGraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ void VectorGraphView::applyDefaultColors()
unsigned int size = model()->getDataArraySize();
if (size > 0)
{
qDebug("applyDefaultColors lineColor: %d, %d, %d, %d", m_vectorGraphDefaultLineColor.red(), m_vectorGraphDefaultLineColor.green(), m_vectorGraphDefaultLineColor.blue(), m_vectorGraphDefaultLineColor.alpha());
setLineColor(m_vectorGraphDefaultLineColor, 0);
setActiveColor(m_vectorGraphDefaultActiveColor, 0);
setFillColor(m_vectorGraphDefaultFillColor, 0);
Expand Down

0 comments on commit 89b7fdf

Please sign in to comment.