Category View
Switchboard's Category View should be moved to Granite and then extended on Switchboard. It's a very useful widget that has all sorts of purposes.
One can define the Category View as a view for several icons that automatically reorders them when the window is resized. It extends Gtk.Grid.
Switchboard's source code can currently be found at:
http://
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
The widget should behave like the Gtk.IconView but works with every widget passed to it like Buttons, other Containers etc:
Also the FlowLayout from the Swing-kit is a good source for describing the functionality: "The FlowLayout class puts components in a row, sized at their preferred size. If the horizontal space in the container is too small to put all the components in one row, the FlowLayout class uses multiple rows." - teemperor
Last time I checked the Switchboard implementation didn't work that well. We even had to mangle icon sizes as a workaround. --shnatsel