Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to remove the spaces created by the lineEdit Disable??
Forum Updated to NodeBB v4.3 + New Features

How to remove the spaces created by the lineEdit Disable??

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 532 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kishore_hemmady
    wrote on last edited by
    #1

    Hi,
    I want to remove the spaces created by the lineEdits which are disable.
    ui->lineEdit->setVisible(false); creates a space after disabling.
    i want to get the another lineEdit in the place of disabled lineEdit rather the space.

    jsulmJ 1 Reply Last reply
    0
    • K kishore_hemmady

      Hi,
      I want to remove the spaces created by the lineEdits which are disable.
      ui->lineEdit->setVisible(false); creates a space after disabling.
      i want to get the another lineEdit in the place of disabled lineEdit rather the space.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by jsulm
      #2

      @kishore_hemmady I guess you mean the space taken by line edit in the layout?
      You should remove the line edit from layout. Hiding it does not remove it from layout, so it is still there but not visible.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved