Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QCalendarWidget issue when having a custom CSS stylesheet

QCalendarWidget issue when having a custom CSS stylesheet

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 503 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.
  • I Offline
    I Offline
    ivelin.krastev
    wrote on last edited by ivelin.krastev
    #1

    Hello. I am currently trying to solve the following issue:
    Case 1: Create a Qt GUI Application and add a QDateEdit with a calendar popup to the main window.
    Result: Everything looks fine.

    Case 2: To the same application set a stylesheet via QApplication::setStyleSheet.
    Result: The calendar popup looks a bit weird.

    Screen Shot 2022-04-07 at 12.35.47.png

    Note: The stylesheet CSS file contains only a background-color style.

    Can anyone help me with solving this issue?

    Thank you.

    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