I have a QTabWidget inside of a QScrollArea. I need the QScrollArea because otherwise the contents may not fit on a (small) screen.
Now I want to add contents to my individual Tabs (like Patients). Therefore I want to expand the QTabWidget more to the right.
Somehow this seems not to be possible. When I drag the widget to the right, it is partly hidden, see the picture. [
]
But I don't what causes this. The same happens when I try to expand my QTabWidget to the bottom.
I tried setting sizePolicy on the QTabWidget to "Expanding" but it doesn't help.
Any advice?
Thank you!
1
Expand QTabWidget inside of QScrollArea with QDesigner
22 Views Asked by Mika2019 At
0
There are 0 best solutions below
Related Questions in PYQT
- Grey-out QLineEdit as per disabled state automatically, combined with non-conditional style sheet directive?
- QT-PyQt-PySide-Custom-Widgets error: No library called cairo was found
- Stopwatch controlled by 4 buttons
- PyQT5 doesn't prompt to overwrite when a default suffix is used
- PyQt5 heading and subheading
- ImportError: DLL load failed while importing QtWebChannel
- Bringing QGridLayout to the same column width
- PyQT5 QAbstractVideoSurface: Play Video with alpha channel (on windows)
- Emitting a `Signal` to directly transition a `QStateMachine` to another `QState`
- Matplotlib canvas doesn't stop updating even after event_source.stop() has been called
- PyQT5: Worker thread's progress bar only updates after main thread's progress bar has updated
- Python project. Error: "QWindowsPipeWriter::write failed. (The handle is invalid.)"
- pyqt5 - Implementing a custom Horizontal ScrollBar for Qtextbrowser
- QMediaPlayer freezes when changing source a second time
- QPixmap scaled aspect ratio is not keep
Related Questions in QT-DESIGNER
- Stopwatch controlled by 4 buttons
- QHBoxLayout with Fixed Width
- Adjust window size according content in QScrollArea in PyQt6
- How to expand main UI elements on QT Designer?
- How can I expand QTabWidget's tabs?
- PyQT5/QTDesigner - I'm getting a "This file contains top level spacers" error when there are no spacers and I have layouts
- QScrollArea not showing a scrollbar
- Unify size of QStackedWidgets
- Making a modern-looking message-list in Qt?
- Expand QTabWidget inside of QScrollArea with QDesigner
- Create Context Menu on QPushButton in QT Designer
- Figma layout to qtdesigner export problem
- Terminal says : ' Not Created By QtDesigner'
- How to represent nested widgets in Qt designer in code (PyQt5)?
- How can I import RoundProgressBar and SpiralProgressBar to a Qt widget in my main.py file from another python file? PySide6/Python3.12.1
Related Questions in QTABWIDGET
- Is there a way to make QTabWidgets auto-hide the tab bar if only one tab is visible (but there are multiple tabs)?
- QTabWidget: Unable to create a label on the tabbar to display tab name
- How can I expand QTabWidget's tabs?
- Expand QTabWidget inside of QScrollArea with QDesigner
- python qt5 tab widget: how set tabs with table widget to full main window size?
- PyQt Hide Contents of QTabWidget but keep QTabBar visible
- I have a problem with QTabWidget, how can I make the Tab panel like this?
- Removing Extra Space Around QTabWidget in a QMainWindow Layout in PySide2
- Left alignment of tab names
- I cannot get python currentChanged to work
- QTabWidget's Tab widgets and their contents are floating (Pyside2)
- PyQt - QTabWidget doesn't change language all tab when use Qt Linguist
- PyQt5 - QTabWidget - How can I have seperate heights for each tab
- Dynamic addition and focus of tabs in QTabWidget with repeated button clicks
- How to use an event handler to detect clicking on the empty space after tab bar?
Related Questions in QSCROLLAREA
- Autoscroll QScrollArea when its widget is resized
- QScrollArea not showing a scrollbar
- Expand QTabWidget inside of QScrollArea with QDesigner
- How to get mouse press position relative to QScrollArea's widget
- How to make QScrollArea resize when there is a QTableView in it (Python)?
- python - pyqt5 QScrollBar of QListWidget
- PyQt6 QScroller: How to Prevent Scroll Interruption on Click?
- Place QGraphicsView scrollbars beside rather than within QGraphicsView when there is room
- QPrintPreviewWidget freezes the application when the horizontal scrollbar is shown
- PyQt - QScrollArea moves widget down to viewport when layout is updated while scrolled down
- How do I create a pyside2 QScrollArea only occupy half the QWidget
- QScroller::grabGesture(ui->scrollArea , QScroller::LeftMouseButtonGesture) in multiple scrollareas in Raspberrypi qt c++
- Smoother slider movement in scrollbar pyqt
- Custom collapsible widget causing size issues
- QTextbrowser Scroll through text whilst new text is still being added
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?