Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. QWebEngineView: How to change/remove the border color of the drop-down list displayed by <select>?
Forum Updated to NodeBB v4.3 + New Features

QWebEngineView: How to change/remove the border color of the drop-down list displayed by <select>?

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 593 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    deleted312
    wrote on last edited by
    #1

    I have an application that uses a QWebEngineView to display an HTML page.
    When I use a <select> in the HTML content, the drop-down list is displayed with a colored border (yellow on Windows, blue on macOS).
    I would like to change this color, or alternatively remove this border.

    I can control the QWebEngineView, HTML content and CSS. However I did not find any solution yet.
    Is there any way to achieve that?

    Steps to reproduce:

    • Compile and run the SimpleBrowser example
    • Open the url https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_select
    • Click on the menu to display the drop-down list

    Result: The drop-down list has a 1 pixel colored border. On Windows the color is yellow, on macOS the color is blue.

    Thanks!

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved