Skip to content

Location problem of QskSubDialogWindow and its subclasses #492

Answered by uwerat
hestrro asked this question in Q&A
Discussion options

You must be logged in to vote

Setting the geometries manually is in general no good idea - it looks being simpler in the beginning, but you will pay later. Sizes usually depend on languages, font sizes, icons and what type of content you have.

That's why layout systems do exist - QSkinny is using one that is quite similar to what you find for QWidgets ( Qt/Quick layouts do not cover many relevant situations ).

Of course it is possible to set geometries manually - as long as you do it in line with the layout system. F.e in case of QskSubDialogWindow you can overload QskDialogSubWindow::updateGeometry and do what seems to be right for your situation.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@hestrro
Comment options

@hestrro
Comment options

@uwerat
Comment options

Answer selected by hestrro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants