nekohayo / specto

Automatically exported from code.google.com/p/specto
0 stars 0 forks source link

The bar just above the the watches list sould not scroll with the watches #142

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
when the number of watches is bigger than the window size, you can scroll
them but the title of that pane (Active|type|Name)  should not scroll
because it disappears when you scroll down

Original issue reported on code.google.com by thibaut....@gmail.com on 8 May 2008 at 11:33

GoogleCodeExporter commented 9 years ago

Original comment by nekoh...@gmail.com on 9 May 2008 at 12:24

GoogleCodeExporter commented 9 years ago
I discussed with Wout, seems to be non-trivial to implement. There does not 
seem to
be a pygtk function/property about this, and my google skills failed me at 
finding
the solution for this one. 

Do you have an example of another project in python that does not have this 
problem?

Original comment by nekoh...@gmail.com on 7 Jun 2008 at 9:07

GoogleCodeExporter commented 9 years ago
it's hard to answer since i don't know which ones are written in python

Original comment by thibaut....@gmail.com on 7 Jun 2008 at 9:37

GoogleCodeExporter commented 9 years ago
Nothing new for version 0.3 concerning this point ?

Original comment by thibaut....@gmail.com on 2 Sep 2008 at 10:36

GoogleCodeExporter commented 9 years ago
From http://www.pygtk.org/docs/pygtk/class-gtkscrolledwindow.html

A gtk.ScrolledWindow is a subclass of gtk.Bin that adds scrollbars to a single 
child 
widget and optionally draws a beveled frame around the child widget. The 
scrolled 
window can work in two ways:

Some widgets (also gtk.TreeView) have native scrolling support using "slots" to 
hold 
gtk.Adjustment objects.

If a widget has native scrolling abilities, it can be added to the 
gtk.ScrolledWindow 
with the gtk.Container.add() method.

So it is possible and i hope to add it soon :)

Original comment by woutclym...@gmail.com on 3 Sep 2008 at 6:19

GoogleCodeExporter commented 9 years ago
Example i found (i hope it works)

scroll_window = gtk.ScrolledWindow()
scroll_window.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
model = gtk.ListStore(gobject.TYPE_STRING)
tree_view = gtk.TreeView(model)
-->scroll_window.add_with_viewport(tree_view)

Original comment by woutclym...@gmail.com on 4 Sep 2008 at 10:21

GoogleCodeExporter commented 9 years ago
Fixed in rev 98

Original comment by woutclym...@gmail.com on 6 Sep 2008 at 4:12

GoogleCodeExporter commented 9 years ago
The fix works, but a border needs to be added. See attached screenshot for 
reference.

Original comment by nekoh...@gmail.com on 6 Sep 2008 at 5:50

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in rev 99

Original comment by woutclym...@gmail.com on 7 Sep 2008 at 12:45

GoogleCodeExporter commented 9 years ago
i've just tried specto through bzr branch lp:~woutc/specto/specto-woutc and it
doesn't seem completly fixed to me although the bar just above the watches list 
does
not scroll anymore with the watches : the scroll bar should be in the same area 
that
the watches and not outside
Current design doesn't seem coherent
See mockup attached

Original comment by thibaut....@gmail.com on 14 Sep 2008 at 8:57

Attachments:

GoogleCodeExporter commented 9 years ago
No, that is not possible. For example: Rhythmbox, Evolution, Homebank,
GNOME-system-monitor, all do this same thing. So I am assuming that it is a GTK+
thing, not a per-application problem.

Original comment by nekoh...@gmail.com on 14 Sep 2008 at 9:27

GoogleCodeExporter commented 9 years ago
you're damn right !

Original comment by thibaut....@gmail.com on 14 Sep 2008 at 9:42

GoogleCodeExporter commented 9 years ago

Original comment by nekoh...@gmail.com on 4 Oct 2008 at 12:47