Hide the border of the Lua dialog scrollbar frame
This results in much cleaner look/feel, which was apparently the
motivation for 817fccb3e5
.
This commit is contained in:
parent
5db59b9fd6
commit
64f8f6c31a
@ -771,6 +771,14 @@ Dialog::Dialog (std::string const& title, luabridge::LuaRef lr)
|
||||
_scroller.add (*table);
|
||||
_scroller.set_policy (Gtk::POLICY_NEVER, Gtk::POLICY_NEVER);
|
||||
|
||||
/* remove shadow from scrollWindow's viewport
|
||||
* see http://www.mail-archive.com/gtkmm-list@gnome.org/msg03509.html
|
||||
* and gtk2_ardour/meterbridge.cc
|
||||
*/
|
||||
Gtk::Viewport* viewport = (Gtk::Viewport*) _scroller.get_child();
|
||||
viewport->set_shadow_type(Gtk::SHADOW_NONE);
|
||||
viewport->set_border_width(0);
|
||||
|
||||
_ad.get_vbox ()->pack_start (_scroller);
|
||||
|
||||
int row = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user