Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 697393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T03:09:48+00:00 2026-05-14T03:09:48+00:00

Once I have programmed GUI with Java and have used Form Layouts. Form layout

  • 0

Once I have programmed GUI with Java and have used Form Layouts. Form layout (if I am not mistaken that is from SWT library) made possible to give right, left, top and bottom adges of any GUI element (widget) with respect to other widgets in the same widget (parent widget) or with respect to the adges of parent widget. So it was possible to control the future of widgets that are inside of another one, when that “another widget” is being resized.

In Qt I have find the QFormLayout which is similar to Java one, but seems I can’t handle with widgets as flexible in terms of relative positioning, as it was with Java’s Form Layout.

So are there any other means to give a widget position with respect to the others (without overloading resizeEvent function) as that was in Java?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T03:09:49+00:00Added an answer on May 14, 2026 at 3:09 am

    It’s hard to understand what you need exactly, but Qt has a plethora of layout options. QFormLayout, it so happens, is not what you need here (it’s meant for forms in the web-sense: labels with text input boxes).

    But QBoxLayout (and its subclasses) and QGridLayout probably are what you need. I was always able to satisfy all my layout needs in Qt with combinations of these. See some examples of their usage in the Qt demo and I’m sure you’ll have your problem solved.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 511k
  • Answers 511k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You can't expect a certain sorting order for equal values.… May 16, 2026 at 5:09 pm
  • Editorial Team
    Editorial Team added an answer Call setLatestEventInfo() on the Notification object, supplying a PendingIntent that… May 16, 2026 at 5:09 pm
  • Editorial Team
    Editorial Team added an answer I got it already! :) Here's my original code: protected… May 16, 2026 at 5:09 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I have to write a multiplayer pacman game in Java for a university assignment
I have programmed in C, Pascal, GWBasic, TCL, Perl, Lisp, but Visual Basic is
I understand that the title might not be descriptive enough, but I'm making a
is it not possible to have both CLICK and DOUBLE_CLICK on the same display
Once you have finished/reintegrated a branch, is it best practice to delete the branch
I have the following code that I want to be able to loop every
I'm considering writing a new Windows GUI app, where one of the requirements is
A bit long, but, shorter than the first draft :) We have a small
I have 4 binary bits Bit 3 Bit 2 Bit 1 Bit 0 Normally
I have a fairly large page, which contains lots of css and html. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.