mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-28 02:34:19 -05:00
UI: Don't show alpha value for color source
This isn't editable by the user, so it doesn't make sense to show it.
This commit is contained in:
@@ -650,7 +650,7 @@ void OBSPropertiesView::AddColor(obs_property_t *prop, QFormLayout *layout,
|
||||
|
||||
QPalette palette = QPalette(color);
|
||||
colorLabel->setFrameStyle(QFrame::Sunken | QFrame::Panel);
|
||||
colorLabel->setText(color.name(QColor::HexArgb));
|
||||
colorLabel->setText(color.name(QColor::HexRgb));
|
||||
colorLabel->setPalette(palette);
|
||||
colorLabel->setStyleSheet(
|
||||
QString("background-color :%1; color: %2;")
|
||||
|
||||
Reference in New Issue
Block a user