Expose the background color of the text labels in the style sheet
Add a new property "textBackgroundColor" to TrackContentObjectView to expose the property to the style sheets. Use this property in the code that renders the text labels. Adjust the two existing style sheets.
This commit is contained in:
@@ -613,6 +613,7 @@ TrackContentObjectView {
|
||||
qproperty-selectedColor: rgb( 0, 125, 255 );
|
||||
qproperty-BBPatternBackground: rgb( 80, 80, 80 );
|
||||
qproperty-textColor: rgb( 255, 255, 255 );
|
||||
qproperty-textBackgroundColor: rgba(0, 0, 0, 75);
|
||||
qproperty-textShadowColor: rgb( 0, 0, 0 );
|
||||
qproperty-gradient: true; /* boolean property, set true to have a gradient */
|
||||
|
||||
|
||||
@@ -620,6 +620,7 @@ TrackContentObjectView {
|
||||
qproperty-selectedColor: #006B65;
|
||||
qproperty-BBPatternBackground: #373d48;
|
||||
qproperty-textColor: #fff;
|
||||
qproperty-textBackgroundColor: rgba(0, 0, 0, 75);
|
||||
qproperty-textShadowColor: rgb(0,0,0,200);
|
||||
qproperty-gradient: false; /* boolean property, set true to have a gradient */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user