[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: QT5 ListBox Problem
[Thread Prev] | [Thread Next]
[Date Prev] | [Date Next]
- Subject: Re: QT5 ListBox Problem
- From: Lee <t.lee.davidson@xxxxxxxxx>
- Date: Sat, 28 Feb 2026 13:00:53 -0500
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On 2/28/26 2:42 AM, Benoît Minisini wrote:
Le 28/02/2026 à 06:25, Lee a écrit :On 2/27/26 7:19 PM, Benoît Minisini wrote:Le 27/02/2026 à 21:25, Lee a écrit :Does the problem occur with the master branch?Yes, the issue persists on 3.21.99 409093b (master) with all three of those GUI toolkits. It occurs only if ListBox.ScrollBar is set to include Horizontal with either Scroll.Horizontal or Scroll.Both.I asked because I can't reproduce the problem. Can you send me a little project that shows the bug?I've discovered that the issue occurs if ListBox.Scrollbar is set to include Scroll.Horizontal *prior* to ListBox.List being populated (which would include setting it via the IDE's property sheet). A project that shows the bug is very simple.Merely add a ListBox to a form, set its Scrollbar property to None so it can be controlled programmatically, and then use just this code in FMain.class:[code] Public Sub Form_Open() ' ListBox1.ScrollBar = Scroll.Both ' Setting it here causes the issue ListBox1.List = ["One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine", "Ten"] ' ListBox1.ScrollBar = Scroll.Both ' Setting it here does not cause the issue End [/code]Thanks, it should be fixed in master now. Regards,
Unfortunately, no, it is not fixed in version 3.21.99 cc76782 (master). I tried using ListBox1.Refresh after setting the List, but that didn't help. -- Lee --- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ---- --- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----
| QT5 ListBox Problem | Safiur Rahman <isafiur@xxxxxxxxx> |
| Re: QT5 ListBox Problem | Lee <t.lee.davidson@xxxxxxxxx> |
| Re: QT5 ListBox Problem | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| Re: QT5 ListBox Problem | Lee <t.lee.davidson@xxxxxxxxx> |
| Re: QT5 ListBox Problem | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| Re: QT5 ListBox Problem | Lee <t.lee.davidson@xxxxxxxxx> |
| Re: QT5 ListBox Problem | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |