Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-8660

Unifying custom QQControl code in QDS and Figma

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • Qt-Bridge-Figma
    • None

    Description

      The generated codes from QDS template and Figma bridge are far different.  We need to have the consistency for user.

      For instance, below is the button code generated by the each tool.

        QDS Figma Bridge
      Base Element Button T.Button
      implicitWidth/Height formula with calculating padding fit to template background
      background defined in the file ButtonTemplate.ui.qml
      contentItem defined in the file defined as void
      (Item {})
      State Logic simply defined in the file fully defined in the file
      State definition defined in the file ButtonTemplate.ui.qml
      Setting inset property Available Not available

       

       MyButton and ButtonTemplate generated by Figma Bridge

       

      Custom Button code generated by QDS (File -> New File -> Qt Quick Controls -> Custom Button)

      Attachments

        Activity

          People

            brook_cronin_qt Brook Cronin
            unseon.ryu Unseon Ryu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: