Removed set_border_width from the code, padding and margin values still
to be set in CSS file
This commit is contained in:
@@ -33,11 +33,7 @@ ThumbBrowserBase::ThumbBrowserBase ()
|
||||
|
||||
Gtk::HBox* hb1 = Gtk::manage( new Gtk::HBox () );
|
||||
Gtk::HBox* hb2 = Gtk::manage( new Gtk::HBox () );
|
||||
Gtk::Frame* frame = Gtk::manage( new Gtk::Frame () );
|
||||
frame->get_style_context()->add_class ("filebrowserFrame");
|
||||
frame->add (internal);
|
||||
frame->set_shadow_type (Gtk::SHADOW_IN );
|
||||
hb1->pack_start (*frame);
|
||||
hb1->pack_start (internal);
|
||||
hb1->pack_end (vscroll, Gtk::PACK_SHRINK, 0);
|
||||
|
||||
pack_start (*hb1);
|
||||
@@ -879,6 +875,7 @@ bool ThumbBrowserBase::Internal::on_draw(const ::Cairo::RefPtr< Cairo::Context>
|
||||
}
|
||||
}
|
||||
}
|
||||
style->render_frame(cr, 0., 0., w, h);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user