QTableWidget's arrows disappearing
-
Hello everyone,
I am developing a mobile app and at some point I need to adjust my QTableWidget's size of any screen ... But in trying to do so, the arrows on the scrollbar disappear, someone could help me find a solution? -
Hi and welcome to devnet,
You should share the code you are using that has this effect as well as the version of Qt you are using and the OS where it happens
-
@SGaist Hello,
I'm using the resize event to my table fits the screen, but this happens before the event is called, so I'm thinking there's a problem with the component.
The problem occurs on the Android versions 4.2.2, 5.0.2 and 5.1. Not tested yet in another versions.
Here's a screenshot: http://imgur.com/GP9bHqA.void ffrmrelrecdup00::resizeEvent(QResizeEvent *event)
{
Q_UNUSED(event);
frame_with_table->setGeometry(my_central_widget->geometry());
frame_with_table->setGeometry(my_central_widget->geometry());
} -
I'm using Qt Creator 3.4.2 on Qt 5.5.0...
-
One new question, i want use a option from the design in my cpp code. How can i do that? i want change the layout stretch from a widget. Thanks
-
-
Why the calls to setGeometry ?
-
setStretchFactor is probably what you are looking for
-