_("<b>When enabled</b> new VST plugins are searched, tested and added to the cache index on application start. When disabled new plugins will only be available after triggering a 'Scan' manually"));
#ifdef LXVST_SUPPORT
- t->attach (*manage (left_aligned_label (_("Linux VST Path:"))), 0, 1, n, n+1);
+ t->attach (*manage (right_aligned_label (_("Linux VST Path:"))), 0, 1, n, n+1);
b = manage (new Button (_("Edit")));
b->signal_clicked().connect (sigc::mem_fun (*this, &PluginOptions::edit_lxvst_path_clicked));
t->attach (*b, 1, 2, n, n+1, FILL); ++n;
#endif
#ifdef WINDOWS_VST_SUPPORT
- t->attach (*manage (left_aligned_label (_("Windows VST Path:"))), 0, 1, n, n+1);
+ t->attach (*manage (right_aligned_label (_("Windows VST Path:"))), 0, 1, n, n+1);
b = manage (new Button (_("Edit")));
b->signal_clicked().connect (sigc::mem_fun (*this, &PluginOptions::edit_vst_path_clicked));
t->attach (*b, 1, 2, n, n+1, FILL); ++n;
LIBGTKMM2EXT_API void rounded_left_half_rectangle (cairo_t* cr, double x, double y, double w, double h, double r=10);
LIBGTKMM2EXT_API Gtk::Label* left_aligned_label (std::string const &);
+ LIBGTKMM2EXT_API Gtk::Label* right_aligned_label (std::string const &);
LIBGTKMM2EXT_API void set_no_tooltip_whatsoever (Gtk::Widget &);
LIBGTKMM2EXT_API void enable_tooltips ();
return l;
}
+Gtk::Label *
+Gtkmm2ext::right_aligned_label (string const & t)
+{
+ Gtk::Label* l = new Gtk::Label (t);
+ l->set_alignment (1, 0.5);
+ return l;
+}
+
static bool
make_null_tooltip (int, int, bool, const Glib::RefPtr<Gtk::Tooltip>& t)
{