Add label for control lines buttons

This commit is contained in:
Lawrence Lee 2020-06-10 12:50:14 -07:00
parent 72b69b3249
commit 11459a8bb1
2 changed files with 3 additions and 0 deletions

View File

@ -1868,6 +1868,7 @@ TP_PERSPECTIVE_CAMERA_ROLL;Rotation
TP_PERSPECTIVE_CAMERA_SHIFT_HORIZONTAL;Horizontal shift
TP_PERSPECTIVE_CAMERA_SHIFT_VERTICAL;Vertical shift
TP_PERSPECTIVE_CAMERA_YAW;Horizontal
TP_PERSPECTIVE_CONTROL_LINES;Control lines
TP_PERSPECTIVE_HORIZONTAL;Horizontal
TP_PERSPECTIVE_LABEL;Perspective
TP_PERSPECTIVE_METHOD;Method

View File

@ -136,6 +136,8 @@ PerspCorrection::PerspCorrection () : FoldableToolPanel(this, "perspective", M("
img_ctrl_lines_edit = ipers_draw;
Gtk::HBox* control_lines_box = Gtk::manage (new Gtk::HBox());
Gtk::Label* control_lines_label = Gtk::manage (new Gtk::Label (M("TP_PERSPECTIVE_CONTROL_LINES") + ": "));
control_lines_box->pack_start(*control_lines_label, Gtk::PACK_SHRINK);
control_lines_box->pack_start(*lines_button_v);
control_lines_box->pack_start(*lines_button_h);
control_lines_box->pack_start(*lines_button_edit);