Left-justify the queue destination preview label and allow it to scroll horizontally
This commit is contained in:
@@ -109,9 +109,13 @@ BatchQueuePanel::BatchQueuePanel (FileCatalog* aFileCatalog) : parent(nullptr)
|
|||||||
|
|
||||||
odvb->pack_start (*hb3, Gtk::PACK_SHRINK, 4);
|
odvb->pack_start (*hb3, Gtk::PACK_SHRINK, 4);
|
||||||
destinationPreviewLabel = Gtk::manage (new Gtk::Label ());
|
destinationPreviewLabel = Gtk::manage (new Gtk::Label ());
|
||||||
destinationPreviewLabel->set_tooltip_markup(M("QUEUE_DESTPREVIEW_TOOLTIP"));
|
destinationPreviewLabel->set_tooltip_markup (M("QUEUE_DESTPREVIEW_TOOLTIP"));
|
||||||
destinationPreviewLabel->set_selectable(true); // so users can copy the path to the clipboard
|
destinationPreviewLabel->set_selectable (true); // so users can copy the path to the clipboard
|
||||||
odvb->pack_start (*destinationPreviewLabel);
|
destinationPreviewLabel->set_halign (Gtk::ALIGN_START);
|
||||||
|
auto destinationPreviewScrolledWindow = Gtk::manage(new Gtk::ScrolledWindow ());
|
||||||
|
destinationPreviewScrolledWindow->set_policy (Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);
|
||||||
|
destinationPreviewScrolledWindow->add (*destinationPreviewLabel);
|
||||||
|
odvb->pack_start (*destinationPreviewScrolledWindow, Gtk::PACK_SHRINK);
|
||||||
Gtk::RadioButton::Group g = useTemplate->get_group();
|
Gtk::RadioButton::Group g = useTemplate->get_group();
|
||||||
useFolder->set_group (g);
|
useFolder->set_group (g);
|
||||||
fdir->add (*odvb);
|
fdir->add (*odvb);
|
||||||
|
Reference in New Issue
Block a user