mirror of
https://github.com/transmission/transmission
synced 2025-03-16 00:39:34 +00:00
add multiline wrapping in error label (#2465)
This commit is contained in:
parent
2d916ab9a8
commit
f94f7923e8
1 changed files with 3 additions and 0 deletions
|
@ -1077,8 +1077,11 @@ Gtk::Widget* DetailsDialog::Impl::info_page_new()
|
|||
error_lb_ = Gtk::make_managed<Gtk::Label>();
|
||||
error_lb_->set_selectable(true);
|
||||
error_lb_->set_ellipsize(Pango::ELLIPSIZE_END);
|
||||
error_lb_->set_line_wrap(true);
|
||||
error_lb_->set_lines(10);
|
||||
t->add_row(row, _("Error:"), *error_lb_);
|
||||
|
||||
/* details */
|
||||
t->add_section_divider(row);
|
||||
t->add_section_title(row, _("Details"));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue