Don't expand SourceList Tree

Bug #1612943 reported by INIZAN yannick
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Granite
Opinion
Undecided
Unassigned

Bug Description

SourceList.Tree constructor set "expand = true" and this value draws padding on each side.
Please remove this line so widgets like Gtk.Box can pack SourceList correctly.

code with Gtk Box & Granite SourceList : http://pastebin.com/8j3g5yE9
screenshot : http://imgur.com/J11DF3A.png

Related branches

Revision history for this message
INIZAN yannick (inizan-yannick) wrote :

Don't expand internal TreeView (left parent widgets do this thing)

Revision history for this message
Danielle Foré (danrabbit) wrote :

Hey INIZAN, can you make your patch into a bzr branch and propose a merge request?

Revision history for this message
INIZAN yannick (inizan-yannick) wrote :

ok

Revision history for this message
Jeremy Wootten (jeremywootten) wrote :

INZAN: Why can you not set expand to false after creating the Widget and before packing it into the Box?

Changed in granite:
status: New → Opinion
Revision history for this message
Jeremy Wootten (jeremywootten) wrote :

Ignore above remark - the SourceList Tree is not public.

Revision history for this message
Zisu Andrei (matzipan) wrote :

As Jeremy said on the attached branch: A better solution would be to expose a "expand" property of SourceList which allows the user to set the expand property of the Tree.

Revision history for this message
Zisu Andrei (matzipan) wrote :

My guess is that this issue is going to go away when we move to Sidebar.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.