From patchwork Fri Aug 12 12:46:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Utkarsh Tiwari X-Patchwork-Id: 17104 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 77941BE173 for ; Fri, 12 Aug 2022 12:47:22 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 340B563335; Fri, 12 Aug 2022 14:47:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1660308442; bh=JhiSF5d0NB3t37fn65lXbj8c4vWCMyyRUF5KMfFffNo=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=McdYk5xD2Bz4y58rvfLH5YuoW9rhI4k3IHcvlwkmlslw1KOnL4AZn7jbja3zvibJH 5bah03vlrUhb73oNK41vgc4uZUqYO+8848mTgdrDFL5jaP5tT2mxhxn3k4SzLOmOS6 acc+hIQ01AFBMiIpnPD1Uj0N4cJjtaV/nj+D8pa5ZAGm3K24wQlaZuiZfev/APTKmw OTxVstbCXrcMP3TTktfGFytZHNDTXfJDiszKvK2Rxna8KRUJWig35lwf5aZQfxq+gT fxlfr1JgNgp5PhkiY9G1gINkuXmbboIUx68XPwLEH6J6P78+2xhGln/JqPeAOtN/+X PmmV3/qdsqeoA== Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 857B263335 for ; Fri, 12 Aug 2022 14:47:20 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="bD8EjVWl"; dkim-atps=neutral Received: by mail-pf1-x435.google.com with SMTP id f30so872363pfq.4 for ; Fri, 12 Aug 2022 05:47:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=tOMvEb8+jW2LNCQnAUQ+tjZmiR2dUmv6UZKwe1iyfwE=; b=bD8EjVWl9x9pfmKkpgd/IFh3MQtidJvw+3X6Vv+9KrBGE/3eI0wiXy/KCK6X73n+Rq FfBc0NXDTIZ40LVIxTETE+Q6bkyy8Zi7keaxh2aeqk2QvE8I3hMf5HsZktERtlwAnyrb wyWF/nRQ3q1+9bBmTD8Pvk2v++XtFMoJGy2PybnyLMrgaBNjhkCIg35NksKn/Kckbib/ R22wWSiRVflYKEIwfVICtoyA2/+nRly0c8N0E+SB8DMyYAu8N8qbphLfNvVWRVxo/PkX iTRcyov1W5uCZftdgAog9Fogb65MNFHxlYMyGzFWHJsPUezljJjflOHSiBF03ezAI7x4 DD5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=tOMvEb8+jW2LNCQnAUQ+tjZmiR2dUmv6UZKwe1iyfwE=; b=df5NRhfedipsojiC3+ETfEFqf4kQxpo5zqIM9/A56F9y8mTLsASFi2G3fmQq9blIrS utRykqNZGhgYMT+kdA51oNcXnAzps0i2t9cIr1MM7xRfHGWK1Dd3LIMFsjPDXE7iM8TY xp3QCHfzkFXtEkjuqLs28i7fUXvO22sOhByw/qehhQANbaE0AG3jhuAW7saPfwd37I9G OhbRQqPu+E2lGzjfVhwI3RNuJ4njPRUajI7aksI+QlmOAc7+AdiFZz7p7yWJad1eChcc YTs4ii9u8H73cmZthvXawZfY9In7cQPXjyWNNe9nc06za8gmCUwr2bc/gFyK1m+GeGwd mjVQ== X-Gm-Message-State: ACgBeo0kOuVrlDq+p9P6AQB7IhDZdZ/vFsukEOietNAWD8qsy2ADKpQC g+ADVjEDnj+Kgz9jwWd/t9AdaCtyBqk= X-Google-Smtp-Source: AA6agR4LNEU2vPOa7uXO71RHXGpUQvWoiWWVP3JYGJydkWFkAXFjX9tkixf/ZG9yANIPD8I9OdXR1A== X-Received: by 2002:a63:4145:0:b0:41d:deef:b318 with SMTP id o66-20020a634145000000b0041ddeefb318mr3024565pga.271.1660308438916; Fri, 12 Aug 2022 05:47:18 -0700 (PDT) Received: from localhost.localdomain ([2404:bd00:3:dc0d:d8e:96a2:2dbe:5a83]) by smtp.gmail.com with ESMTPSA id e6-20020a17090a728600b001f069352d73sm1431785pjg.25.2022.08.12.05.47.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Aug 2022 05:47:18 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Fri, 12 Aug 2022 18:16:48 +0530 Message-Id: <20220812124651.27496-9-utkarsh02t@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220812124651.27496-1-utkarsh02t@gmail.com> References: <20220812124651.27496-1-utkarsh02t@gmail.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 08/11] qcam: ControlsTab: Allow widget to resizeable X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Utkarsh Tiwari via libcamera-devel From: Utkarsh Tiwari Reply-To: Utkarsh Tiwari Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" In QScrollArea by default the widgets are not resizeable. This means when the user extends the QDialog the widgets don't resize to fill the space. Allow them to be resizeable. Signed-off-by: Utkarsh Tiwari --- src/qcam/settings/controls_tab.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qcam/settings/controls_tab.cpp b/src/qcam/settings/controls_tab.cpp index 496b5d3b..98962f3c 100644 --- a/src/qcam/settings/controls_tab.cpp +++ b/src/qcam/settings/controls_tab.cpp @@ -45,6 +45,7 @@ ControlsTab::ControlsTab(std::shared_ptr camera_, /* Set widget and policies for the scrollarea */ setWidget(containerWidget); + setWidgetResizable(true); } /* -----------------------------------------------------------------------------