Devolus
Devolus

Reputation: 22074

Splitter in Qt5 is invisible

I have been creating a small frame window with a splitter object, using the Qt Designer. What is strange though is, that the splitter is working, so when I move the mouse where it should be, the cursor switches it's shape and I can drag the splitter, but the splitter bar itself is invisible.

Is this a bug from Qt5? I'm using Qt 5.2.1 OpenSource with MingW on Windows 7.

Screenshot of missing splitter
(source: picr.de)

Update

I created now a bugreport for this issue

Upvotes: 5

Views: 2164

Answers (1)

nayana
nayana

Reputation: 3932

I have also invisible splitter (Using Qt 5.3). But I am using some complex style sheet which colors it in a way I need and it is visible that way:

QSplitter::handle {
    background-color: #333;
}

Please check the docs how to apply style sheet.

Upvotes: 2

Related Questions