Removed set_border_width from the code, padding and margin values still

to be set in CSS file
This commit is contained in:
Hombre
2016-02-23 21:36:00 +01:00
parent cb916f7c2d
commit 3577d87862
39 changed files with 609 additions and 182 deletions

View File

@@ -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;
}