Commit 3fed7d8d authored by Murray Cumming's avatar Murray Cumming
Browse files

Revert comments changes from "Replace use of (deprecated) GtkLabel alignment."

This reverts part of d8730c41.

The commented-out changes would have been wrong because they
were method calls on Entries, not Labels.
parent 053c7964
......@@ -52,7 +52,7 @@ ComboGlom::ComboGlom(bool has_entry)
#endif // !GLOM_ENABLE_CLIENT_ONLY
//if(m_glom_type == Field::TYPE_NUMERIC)
// get_entry()->set_halign(Gtk::ALIGN_END); //Align numbers to the right.
// get_entry()->set_alignment(1.0); //Align numbers to the right.
//Let the combo be big enough:
set_popup_fixed_width(false);
......
......@@ -49,7 +49,7 @@ ComboAsRadioButtons::ComboAsRadioButtons()
void ComboAsRadioButtons::init()
{
//if(m_glom_type == Field::TYPE_NUMERIC)
// get_entry()->set_halign(Gtk::ALIGN_END); //Align numbers to the right.
// get_entry()->set_alignment(1.0); //Align numbers to the right.
}
void ComboAsRadioButtons::set_choices_with_second(const type_list_values_with_second& list_values)
......
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