Hi,
I’m on a Linux XFCE machine with wxPython 3.0.2.0 installed.
I have an wx.ListBox widget with some items. When i add a new item that is long
the horizontal scrollbar appears, if i remove the item the horizontal scrollbar is still there.
To reproduce:
- run test.py
- click “button” to add the long item (the horizontal scrollbar should appear)
- click “button” again to remove it (the horizontal scrollbar is still there)
Is there a way to remove the scrollbar?
NOTES
test.py (1.38 KB)
Could this issue be because of the interaction between GTK and XFCE? It appears to work with KDE ( again that is the interaction between GTK and KDE). Have you tried other managers? Other distro’s?
···
On Sat, Oct 22, 2016 at 4:32 AM, ytubedlg@gmail.com wrote:
Hi,
I’m on a Linux XFCE machine with wxPython 3.0.2.0 installed.
I have an wx.ListBox widget with some items. When i add a new item that is long
the horizontal scrollbar appears, if i remove the item the horizontal scrollbar is still there.
To reproduce:
- run test.py
- click “button” to add the long item (the horizontal scrollbar should appear)
- click “button” again to remove it (the horizontal scrollbar is still there)
Is there a way to remove the scrollbar?
NOTES
–
You received this message because you are subscribed to the Google Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I see it on GNOME 3 also so it's not just XFCE.
···
On Mon, 24 Oct 2016, John Fabiani wrote:
Could this issue be because of the interaction between GTK and XFCE? It
appears to work with KDE ( again that is the interaction between GTK and
KDE). Have you tried other managers? Other distro's?
On Sat, Oct 22, 2016 at 4:32 AM, <ytubedlg@gmail.com> wrote:
Hi,
I'm on a Linux XFCE machine with wxPython 3.0.2.0 installed.
I have an wx.ListBox widget with some items. When i add a new
item that is long
the horizontal scrollbar appears, if i remove the item the
horizontal scrollbar is still there.
To reproduce:
1. run test.py
2. click "button" to add the long item (the horizontal
scrollbar should appear)
3. click "button" again to remove it (the horizontal scrollbar
is still there)
Is there a way to remove the scrollbar?
NOTES
- On Windows 7 the scrollbar does not appear so the problem does
not exist.
- Changing theme does not make a difference.
- I search the group/google and i only managed to find those two
issues, that might have something to do with my problem:
27201 – Tree does not remove horizontal scroll bar on collapse
http://mailman.daa.com.au/cgi-bin/pipermail/pygtk/2006-March/011914.html
--
You received this message because you are subscribed to the Google
Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I guess the only thing to do is to refresh the layout in the code that removes the expanded text (node). I don’t have anything very small that I can play with but I can say it works for me on KDE (I’m using openSUSE leap). Maybe you can post something small we can take a look at to determine the real cause.
···
On Mon, Oct 24, 2016 at 5:42 PM, Scott Talbert talbert@techie.net wrote:
I see it on GNOME 3 also so it’s not just XFCE.
On Mon, 24 Oct 2016, John Fabiani wrote:
Could this issue be because of the interaction between GTK and XFCE? It
appears to work with KDE ( again that is the interaction between GTK and
KDE). Have you tried other managers? Other distro’s?
On Sat, Oct 22, 2016 at 4:32 AM, ytubedlg@gmail.com wrote:
Hi,
I'm on a Linux XFCE machine with wxPython 3.0.2.0 installed.
I have an wx.ListBox widget with some items. When i add a new
item that is long
the horizontal scrollbar appears, if i remove the item the
horizontal scrollbar is still there.
To reproduce:
1. run test.py
2. click "button" to add the long item (the horizontal
scrollbar should appear)
3. click "button" again to remove it (the horizontal scrollbar
is still there)
Is there a way to remove the scrollbar?
NOTES
- On Windows 7 the scrollbar does not appear so the problem does
not exist.
- Changing theme does not make a difference.
- I search the group/google and i only managed to find those two
issues, that might have something to do with my problem:
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=27201](https://bugs.eclipse.org/bugs/show_bug.cgi?id=27201)
[http://mailman.daa.com.au/cgi-bin/pipermail/pygtk/2006-March/011914.html](http://mailman.daa.com.au/cgi-bin/pipermail/pygtk/2006-March/011914.html)
–
You received this message because you are subscribed to the Google
Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
–
You received this message because you are subscribed to the Google Groups
“wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
–
You received this message because you are subscribed to the Google Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.