summaryrefslogtreecommitdiff
path: root/src/wx/text_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-09-06 00:09:51 +0200
committerCarl Hetherington <cth@carlh.net>2025-09-06 00:09:51 +0200
commit4cff4f2cb09685d8e5d4a0fafe43089bca9441d1 (patch)
tree392fc4a9386b8119f1dc0b9d1d747ac14cb637f6 /src/wx/text_panel.cc
parent78cc2db4d8899ae22ccc96db5012b33a00d394fc (diff)
Cleanup: assume DCPOMATIC_SPIN_CTRL_WIDTH.
Diffstat (limited to 'src/wx/text_panel.cc')
-rw-r--r--src/wx/text_panel.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/wx/text_panel.cc b/src/wx/text_panel.cc
index 849e83294..6fef885f1 100644
--- a/src/wx/text_panel.cc
+++ b/src/wx/text_panel.cc
@@ -87,22 +87,22 @@ TextPanel::create ()
_offset_label = create_label (this, _("Offset"), true);
_x_offset_label = create_label (this, _("X"), true);
- _x_offset = new SpinCtrl (this, DCPOMATIC_SPIN_CTRL_WIDTH);
+ _x_offset = new SpinCtrl(this);
_x_offset_pc_label = new StaticText (this, _("%"));
_y_offset_label = create_label (this, _("Y"), true);
- _y_offset = new SpinCtrl (this, DCPOMATIC_SPIN_CTRL_WIDTH);
+ _y_offset = new SpinCtrl(this);
_y_offset_pc_label = new StaticText (this, _("%"));
_scale_label = create_label (this, _("Scale"), true);
_x_scale_label = create_label (this, _("X"), true);
- _x_scale = new SpinCtrl (this, DCPOMATIC_SPIN_CTRL_WIDTH);
+ _x_scale = new SpinCtrl(this);
_x_scale_pc_label = new StaticText (this, _("%"));
_y_scale_label = create_label (this, S_("Coord|Y"), true);
- _y_scale = new SpinCtrl (this, DCPOMATIC_SPIN_CTRL_WIDTH);
+ _y_scale = new SpinCtrl(this);
_y_scale_pc_label = new StaticText (this, _("%"));
_line_spacing_label = create_label (this, _("Line spacing"), true);
- _line_spacing = new SpinCtrl (this, DCPOMATIC_SPIN_CTRL_WIDTH);
+ _line_spacing = new SpinCtrl(this);
_line_spacing_pc_label = new StaticText (this, _("%"));
_stream_label = create_label (this, _("Stream"), true);