> On 27 Mar 2018, at 03:41, Jason H <jh...@gmx.com> wrote:
> I sent this a while back, but I never got help, and I still haven't figured 
> it out. 
> -----
> I'm trying to style ComboBox, but I am getting a highlight that is not placed 
> correctly, and there seems to be a semi-transparent black overlay that is 
> also applying itself over the highlight?
> Can someone tell me what I'm doing wrong?

Some comments to get you started:
- Fix the "width: control.height" bindings.
- In the delegate, use Text as a contentItem, and Rectangle as a background. 
Control controls the size of contentItem, and background follows the size of 
the Control by default. No need for width/height bindings for either.
- If you want to use fontSizeMode, specify the font size range: 
- Set a higher Z-value if you want the ListView highlight to appear over the 
 but you will be just hiding the entire delegate with an opaque rectangle, so 
perhaps consider visualizing the highlighted state in the delegate background 
- What's the purpose of the opaque Rectangle inside the ScrollIndicator?

J-P Nurmi

Interest mailing list

Reply via email to