Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-33782

QT Creator adding prefixes that break layout in UI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 18.0.0
    • Widget Designer
    • None
    • Android

      I have a *.ui file that uses spacers for the layout. If I open the existing *.ui and click on a tab, this updates the current tab. If I then select save, then the *.ui file is updated with multiple changes such as the the following, and the layout of my UI is broken -:

      <spacer name="horizontalSpacer">
      <property name="orientation">
      -                <enum>Qt::Horizontal</enum>
      +                <enum>Qt::Orientation::Horizontal</enum>

       

      At the moment, I need to then manually edit the *.ui to remove all of these additional prefixed so that the layout of the UI works properly.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kleint Friedemann Kleint
            christian_debien Christian Debien
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes