Commit 50bdded9 authored by Murray Cumming's avatar Murray Cumming
Browse files

Notebook: Avoid truncating related records buttons.

* glom/mode_data/box_data_list_related.cc: Use
Gtk::Frame::unset_label() instead of just hiding the frame's label,
because that apparently leads to an incorrect allocation, causing the
buttons to be cut in half horizontally at the bottom.
I will investigate.
parent afe08065
2011-10-27 Murray Cumming <murrayc@murrayc.com>
Notebook: Avoid truncating related records buttons.
* glom/mode_data/box_data_list_related.cc: Use
Gtk::Frame::unset_label() instead of just hiding the frame's label,
because that apparently leads to an incorrect allocation, causing the
buttons to be cut in half horizontally at the bottom.
I will investigate.
1.19.16:
2011-10-27 Murray Cumming <murrayc@murrayc.com>
......
......@@ -98,6 +98,7 @@ bool Box_Data_List_Related::init_db_details(const Glib::ustring& parent_table, b
{
m_Label.set_markup(Glib::ustring());
m_Label.hide();
m_Frame.unset_label(); //Otherwise the allocation is calculated wrong. TODO: Investigate in GTK+.
m_Alignment.set_padding(0.0f, 0.0f, 0.0f, 0.0f); //The box itself has padding of 6.
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment