2stein
ViX Beta Tester
for my timeshift plugin i use 3 stacked sliders in grey (start of ts recording), yellow (current play position), red (current recording position).
originally when they were broader and had rounded corners the top grey one covered the 2 below although transparency="1". i played around a bit and found that the rounded corners were the culprit. when i removed them, everything looks fine (see screenshot). as a workaround i reduced the height so that rounded corners dont make too much of a difference.
however, i investigated a bit further and found the bug in eslider.cpp which i think could be fixed with:
but as i dont have a build environment, i cant test it.
still, i wanted to leave it here for somebody who does and wants to test it.
also, i'm wondering whether other widgets have similar problems with rounded corners.
originally when they were broader and had rounded corners the top grey one covered the 2 below although transparency="1". i played around a bit and found that the rounded corners were the culprit. when i removed them, everything looks fine (see screenshot). as a workaround i reduced the height so that rounded corners dont make too much of a difference.
however, i investigated a bit further and found the bug in eslider.cpp which i think could be fixed with:
Code:
@@ -86,7 +86,7 @@ int eSlider::event(int event, void *data, void *data2)
painter.clear();
}
- if(cornerRadius || m_background_gradient_set)
+ if((cornerRadius || m_background_gradient_set) && !isTransparent())
{
if(m_have_background_color) {
painter.setBackgroundColor(m_background_color);
still, i wanted to leave it here for somebody who does and wants to test it.
also, i'm wondering whether other widgets have similar problems with rounded corners.