From nobody Mon Jan 09 16:48:40 2023 X-Original-To: freebsd-xfce@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NrKdv6Z6Mz2p20R for ; Mon, 9 Jan 2023 16:48:51 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (vogon.madpilot.net [159.69.1.99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4NrKdv3bKYz46bV for ; Mon, 9 Jan 2023 16:48:51 +0000 (UTC) (envelope-from mad@madpilot.net) Authentication-Results: mx1.freebsd.org; none Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 4NrKdm1C2Yz6ll1; Mon, 9 Jan 2023 17:48:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= content-transfer-encoding:content-type:content-type:in-reply-to :subject:subject:from:from:content-language:references:date:date :message-id:received; s=bjowvop61wgh; t=1673282922; x= 1675097323; bh=s8WfX8iVOpsAoDoOkOdr4FqBtE8bmcAoRR/33VTuYl0=; b=x Pv0ZtbAwBRbhTQ8nn6E2xv4jshY+Oye3ompmbGJTI5bhREG5KG2m8y9nyR0nsQ4B gz2KPFm0KuUr7gaNM4lxaRRIfB++YPzEb6sH0+4vZKn/ABrLfDbb/d4xo26DcxFr cMAqusaH3aiiuImzN24uS0kt6NGjMd2nguWZLL1I8a7raxQkWVhIasj1FOt3dbtw qMPN33sMCdmbqA+8DPKPy+AiAPUeOK8WjWCdsnPxxyEDWxSuqnIo4Q9WLKpQRwUb LZvmqdGJdyJ/CcUoCR5sAjppfMbn94fQqjQfF8880Va0wnAtXe7ZOUpbMhyNnFI4 wMsBDSRCTJ5qSa+K2nzXg== Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10026) with ESMTP id gpQXx4AqrHng; Mon, 9 Jan 2023 17:48:42 +0100 (CET) Message-ID: <211665c0-0acf-12e0-69bf-327f528ad836@madpilot.net> Date: Mon, 9 Jan 2023 17:48:40 +0100 To: Andrea Venturoli , freebsd-xfce@freebsd.org References: <1fb41e77-2d54-7dc4-c09b-e1cf4faeaaa7@netfence.it> Content-Language: en-US From: Guido Falsi Subject: Re: Panel window buttons row size In-Reply-To: <1fb41e77-2d54-7dc4-c09b-e1cf4faeaaa7@netfence.it> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4NrKdv3bKYz46bV X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N List-Id: XFCE List-Archive: https://lists.freebsd.org/archives/freebsd-xfce List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-xfce@freebsd.org X-BeenThere: freebsd-xfce@freebsd.org On 09/01/23 16:49, Andrea Venturoli wrote: > Hello. > > I've been using XFCE for a long time and I've always had a bottom panel > with "Windows Buttons" on two rows. > I.e.: > Having panel preference: display: row size = 50, number of rows=1, > there were always two rows of windows buttons. > > A couple of days ago, I moved from port branch 2022Q4 to 2023Q1, which > brought XFCE 4.18 in. > Now windows button are laid in a single row, unless I increase row size > to at least 64. > I *think* this is due to icon size being too big. > > Is there a way to get this back as it was before? > I searched, but found no way. I have noticed bigger icons also in the launcher application. It does not bother me too much though, so I did not investigate. In my case the icons are the same size, but they have bigger margins. That could be what triggers one row in your case. This is definitely an upstream change though, since nothing was changed in the ports with the updates, except for version numbers and some minor ports Makefile details. Its difficult to single out the upstream change that could have caused this, but this one looks related: https://github.com/xfce-mirror/xfce4-panel/commit/379b015a2c693719fd1df0cf9f8e4e41944fc974 Anyway these buttons are created using GTK3, so the theme in use could be influencing the size. ALso this means you could try customizing button size, padding and margin via gtk3 customizations, which work similar to CSS. These posts, while not describing exactly your issue, could give you an idea of what you could do to change sizes to fit your needs: https://forum.xfce.org/viewtopic.php?id=12622 https://forum.xfce.org/viewtopic.php?id=13296 > > (Not sure this is a question to be asked here or on XFCE's mailing > lists; I'll eventually move). For details on how to configure xfce panel and its plugins you'll need to ask the xfce guys. They definitely know how their code works better than me. -- Guido Falsi