Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-126387

QtWidgets' QColorDialog should handle resizing properly.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7.1
    • None
    • Linux/Wayland, Linux/X11

    Description

      As geeksforgeeks.org/pyqt5-how-to-allow-qcolordialog-widget-to-resize (from bugs.kde.org/show_bug.cgi?id=484170#c5) explains, by default, it's not resizeable without breaking its content:

      Report it upstream, if not already done. It would need a rewrite of the dialog, because it currently isn't designed to be resizable.

      This is a significant problem for smartphones, for which it must be resizeable to be merely usable.

      Reproduction

      #include <QApplication>
      #include <QColorDialog>
      
      int main(int argc, char *argv[]) {
          QApplication app(argc, argv);
          QColorDialog::getColor();
          return 0;
      }
      
      
      Unable to find source-code formatter for language: pro. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      QT += widgets
      CONFIG += c++17
      
      SOURCES += main.cpp
      
      

      Attachments

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

        Activity

          People

            beedellrokejulianlockhart ROKE BEEDELL
            beedellrokejulianlockhart ROKE BEEDELL
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes