After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 705822 - GtkListBox should support rendering a border
GtkListBox should support rendering a border
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-08-12 10:15 UTC by John Stowers
Modified: 2016-01-23 06:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description John Stowers 2013-08-12 10:15:37 UTC
I would like to be able to define a border around a GtkListBox using css

border-width
border-style 
etc

I guess adding gtk_render_frame in the draw method would be sufficient.

This is to implement the gnome-tweak-tool mockups as seen here

https://raw.github.com/gnome-design-team/gnome-mockups/master/tweak-tool/tweak-tool-wireframes-v2.png

(see extensions and startup applications section of the mockups)
Comment 1 Alexander Larsson 2013-08-19 11:40:05 UTC
<alex> I don't necessarily disagree. I think all widgets should (be able to) render full css boxes (i.e. bg + border)
<alex> not sure if its right for the proposed design though
<alex> you generally want the frame to be outside the scrolledview, not inside it
Comment 2 Alexander Larsson 2013-08-19 14:15:27 UTC
(And its only a matter of time before your "small" lists grow and may need to scroll)
Comment 3 Matthias Clasen 2016-01-23 06:44:19 UTC
it does now