[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: QT5 ListBox Problem
[Thread Prev] | [Thread Next]
- Subject: Re: QT5 ListBox Problem
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Sat, 28 Feb 2026 08:42:12 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
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 issueListBox1.List = ["One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine", "Ten"] ' ListBox1.ScrollBar = Scroll.Both ' Setting it here does not cause the issueEnd [/code]
Thanks, it should be fixed in master now. Regards, -- Benoît Minisini.
| Re: QT5 ListBox Problem | Lee <t.lee.davidson@xxxxxxxxx> |
| 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> |