From patchwork Fri Jul 15 19:13:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Utkarsh Tiwari X-Patchwork-Id: 16663 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 3AC70BE173 for ; Fri, 15 Jul 2022 19:14:23 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id C358A63329; Fri, 15 Jul 2022 21:14:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1657912462; 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=Jj0Sw+/J7AHwA7iVNOwmIqhn2zxGS27ECerzAyjfGHWArsf2b5pEqx4ojwyYGhjkf BbfYgTORAPKk2YBURfBDWUrhcBNMLidOr9tSiOpwgQ8V6Y4/eyifTLI0yvCFXcqP6o 5L6u+nWwVHwRosGDd2YfM8qIuFup1lB9jWfxHDsurzIc/hXGWRDWlFPUddgSI6au6K ltbCmb4XbQ4QOzpyMnbm/x8CXAVldiMKqhKPdtawSY9X+kU00p6iwwQUAJ3vf5Yq0C HFFcloUC5HGuj2kW/63qYcsY71uqd0YedYf/WZdygIWadTN0PyYPb1gHHfqc+MdWR+ Q6wZJShLB4pRA== Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id AC7C963319 for ; Fri, 15 Jul 2022 21:14:20 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="njm4WjH+"; dkim-atps=neutral Received: by mail-pg1-x52c.google.com with SMTP id bf13so5201548pgb.11 for ; Fri, 15 Jul 2022 12:14:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tOMvEb8+jW2LNCQnAUQ+tjZmiR2dUmv6UZKwe1iyfwE=; b=njm4WjH+1frFSZXo4jc5pZHzoMEdd5xt7dLBIDvroLLHkmDX2GXhdMG9+6ociM2Tld iKJbK/XpP4j9K+JmRngiMWiRJu57BuN5dAK52tVrSYiufWgYWJHSFi/4gfjANwQQ/HoT Tpa+lt7adnetcvWafeZshnVK3AsVcXGTjdDyEF0s73498zdqOkb21fGTfKUS+UloxaIi osey5egFv3A668U80HZ2Hz5uH3UusGOORfDkhng0LQpYaM3ZlqZpgk2/5kbgE4o1y6ae tedYl80jsNcMQoj7JzSRYs9vGZ+4JIUfDsQ8M92BiHJxN9roh5DyueTj5bnm3c7mzSCn uPEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tOMvEb8+jW2LNCQnAUQ+tjZmiR2dUmv6UZKwe1iyfwE=; b=DcHL/vvB3CLx+SDWjZ9LoTTrcBZadZYUNSnKvzS5TnQMCeQknttQZMrgkMRIlKUZtj pRPuQyHHBwSQ5fmTIGRczsf8/Uk1qk6zz75DiL8+QD/HrfHFW4AUoj+KAxBePPwEXsA5 fXVoyw4IP7q8HQI5ZSS9el7Qc9zcVZmgOpukd5lk90UPOegUJh4cGR37p4d5sKlUMAQ0 OSsMDf0pns4KNGGqa3Ru2/lAvhKn8PlSY6e+D2nVBvdad2zQKlk45m+bPSLHX/avxc4Q aaeyn/ZmfQweCFB04qYFOU4Bi3E6QQixnHpYVHfN/w7Krc1mgSRHbaNPMXQ+cWOFPAtg bTzA== X-Gm-Message-State: AJIora/ljn504YKGI0dtVn3canuoMKnKMmMcHfLiMiRtvSNoN+1ErDMw YJ3NCa+dxnckn9ywBYFtoinE7SAsXQro7Q== X-Google-Smtp-Source: AGRyM1tSY01Rdk/FbplsAMGPR1zaiXM8whTLz47at5aWlWQVaAxmoGdP0WmT/nPFkm6/rodzD4p97A== X-Received: by 2002:a63:ea55:0:b0:412:290c:9694 with SMTP id l21-20020a63ea55000000b00412290c9694mr13681723pgk.39.1657912459060; Fri, 15 Jul 2022 12:14:19 -0700 (PDT) Received: from localhost.localdomain ([2406:3003:2005:1c27:d8e8:f9ac:919c:9ac8]) by smtp.gmail.com with ESMTPSA id s10-20020a170903214a00b0016be834d544sm3834315ple.237.2022.07.15.12.14.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jul 2022 12:14:18 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Sat, 16 Jul 2022 03:13:57 +0800 Message-Id: <20220715191400.890976-9-utkarsh02t@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220715191400.890976-1-utkarsh02t@gmail.com> References: <20220715191400.890976-1-utkarsh02t@gmail.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 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); } /* -----------------------------------------------------------------------------