/* Set widget values */
tmp = gtk_spin_button_get_value (GTK_SPIN_BUTTON (editor->priv->lsize_r_spin));
gtk_spin_button_set_range (GTK_SPIN_BUTTON (editor->priv->lsize_r_spin),
- 0.0, LENGTH (dx_max, dy_max));
+ 0.0, 2.0*LENGTH (dx_max, dy_max));
gtk_spin_button_set_value (GTK_SPIN_BUTTON (editor->priv->lsize_r_spin), tmp);
g_signal_handlers_unblock_by_func (G_OBJECT(editor->priv->lsize_r_spin),
/* Set widget values */
tmp = gtk_spin_button_get_value (GTK_SPIN_BUTTON (editor->priv->pos_x_spin));
gtk_spin_button_set_range (GTK_SPIN_BUTTON (editor->priv->pos_x_spin),
- 0.0, x_max);
+ -x_max, 2.0*x_max);
gtk_spin_button_set_value (GTK_SPIN_BUTTON (editor->priv->pos_x_spin), tmp);
tmp = gtk_spin_button_get_value (GTK_SPIN_BUTTON (editor->priv->pos_y_spin));
gtk_spin_button_set_range (GTK_SPIN_BUTTON (editor->priv->pos_y_spin),
- 0.0, y_max);
+ -y_max, 2.0*y_max);
gtk_spin_button_set_value (GTK_SPIN_BUTTON (editor->priv->pos_y_spin), tmp);
g_signal_handlers_unblock_by_func (G_OBJECT(editor->priv->pos_x_spin),
/* Set widget values */
tmp = gtk_spin_button_get_value (GTK_SPIN_BUTTON (editor->priv->size_w_spin));
gtk_spin_button_set_range (GTK_SPIN_BUTTON (editor->priv->size_w_spin),
- 0.0, w_max);
+ 0.0, 2.0*w_max);
gtk_spin_button_set_value (GTK_SPIN_BUTTON (editor->priv->size_w_spin), tmp);
tmp = gtk_spin_button_get_value (GTK_SPIN_BUTTON (editor->priv->size_h_spin));
gtk_spin_button_set_range (GTK_SPIN_BUTTON (editor->priv->size_h_spin),
- 0.0, h_max);
+ 0.0, 2.0*h_max);
gtk_spin_button_set_value (GTK_SPIN_BUTTON (editor->priv->size_h_spin), tmp);
g_signal_handlers_unblock_by_func (G_OBJECT(editor->priv->size_w_spin),
0);
/* Update */
+ update_editor_from_label_cb (object->parent, GL_OBJECT_EDITOR(editor));
update_editor_from_object_cb (object, GL_OBJECT_EDITOR(editor));
update_editor_from_move_cb (object, 0, 0, GL_OBJECT_EDITOR(editor));
- update_editor_from_label_cb (object->parent, GL_OBJECT_EDITOR(editor));
/* Connect signals. */
g_signal_connect (G_OBJECT (editor), "changed",
0);
/* Update */
+ update_editor_from_label_cb (object->parent, GL_OBJECT_EDITOR(editor));
update_editor_from_object_cb (object, GL_OBJECT_EDITOR(editor));
update_editor_from_move_cb (object, 0, 0, GL_OBJECT_EDITOR(editor));
- update_editor_from_label_cb (object->parent, GL_OBJECT_EDITOR(editor));
/* Connect signals. */
g_signal_connect (G_OBJECT (editor), "changed",
0);
/* Update */
+ update_editor_from_label_cb (object->parent, GL_OBJECT_EDITOR(editor));
update_editor_from_object_cb (object, GL_OBJECT_EDITOR(editor));
update_editor_from_move_cb (object, 0, 0, GL_OBJECT_EDITOR(editor));
- update_editor_from_label_cb (object->parent, GL_OBJECT_EDITOR(editor));
/* Connect signals. */
g_signal_connect (G_OBJECT (editor), "changed",
0);
/* Update */
+ update_editor_from_label_cb (object->parent, GL_OBJECT_EDITOR(editor));
update_editor_from_object_cb (object, GL_OBJECT_EDITOR(editor));
update_editor_from_move_cb (object, 0, 0, GL_OBJECT_EDITOR(editor));
- update_editor_from_label_cb (object->parent, GL_OBJECT_EDITOR(editor));
/* Connect signals. */
g_signal_connect (G_OBJECT (editor), "changed",
0);
/* Update */
+ update_editor_from_label_cb (object->parent, GL_OBJECT_EDITOR(editor));
update_editor_from_object_cb (object, GL_OBJECT_EDITOR(editor));
update_editor_from_move_cb (object, 0, 0, GL_OBJECT_EDITOR(editor));
- update_editor_from_label_cb (object->parent, GL_OBJECT_EDITOR(editor));
/* Connect signals. */
g_signal_connect (G_OBJECT (editor), "changed",