Set top vertical alignment for multi-line field and value label pairs
A LVM volume group can contain more than one member and comprise a multi-line entry. As such set the "Members" field header and value label pair to top vertical alignment.
This commit is contained in:
parent
6efa623401
commit
72aa552469
|
@ -381,7 +381,7 @@ void Dialog_Partition_Info::Display_Info()
|
|||
2, 3, top++, bottom++, Gtk::FILL ) ;
|
||||
|
||||
//Members
|
||||
table ->attach( * Utils::mk_label( "<b>" + Glib::ustring( _("Members:") ) + "</b>"),
|
||||
table ->attach( * Utils::mk_label( "<b>" + Glib::ustring( _("Members:") ) + "</b>", true, false, false, 0.0 /* ALIGN_TOP */ ),
|
||||
1, 2, top, bottom, Gtk::FILL ) ;
|
||||
|
||||
std::vector<Glib::ustring> members ;
|
||||
|
@ -398,7 +398,7 @@ void Dialog_Partition_Info::Display_Info()
|
|||
members_str += members[i] ;
|
||||
}
|
||||
}
|
||||
table ->attach( * Utils::mk_label( members_str, true, false, true ), 2, 3, top++, bottom++, Gtk::FILL ) ;
|
||||
table ->attach( * Utils::mk_label( members_str, true, false, true, 0.0 /* ALIGN_TOP */ ), 2, 3, top++, bottom++, Gtk::FILL ) ;
|
||||
}
|
||||
|
||||
//Right field & value pair area
|
||||
|
|
Loading…
Reference in New Issue