Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-8930

Can't #someID QTabWidget::pane { style }

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Not Evaluated Not Evaluated
    • None
    • 4.5.2
    • Widgets: Style Sheets
    • None
    • Developing of Fedora 11, may exist on other platforms

      I am able to set style sheets when I do this (normal styling):

      QTabWidget::pane {
       <style here>
      }
      

      or when I do this (using an id)

      #id QTabWidget::tab-bar{
       <style here>
      }
      

      But nothing happens when I do this (using an id and ::pane)

      #id QTabWidget::pane{
       <style here>
      }
      

      It appears you can't do "#id QTabWidget::pane", but this is allowed for all other css tags I've tried. I am currently working around this by leaving the id off, but this has the undesired effect of cascading down.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            goffart Olivier Goffart (closed Nokia identity) (Inactive)
            ricochet2200 Rick Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes