Commit 2bcfe602 authored by Victor Ananjevsky's avatar Victor Ananjevsky

fixes in text-aling

parent 9fd937ee
...@@ -219,10 +219,10 @@ create_layout (GtkWidget *dlg) ...@@ -219,10 +219,10 @@ create_layout (GtkWidget *dlg)
gtk_label_set_xalign (GTK_LABEL (text), 0.0); gtk_label_set_xalign (GTK_LABEL (text), 0.0);
break; break;
case GTK_JUSTIFY_RIGHT: case GTK_JUSTIFY_RIGHT:
gtk_label_set_xalign (GTK_LABEL (text), 0.5); gtk_label_set_xalign (GTK_LABEL (text), 1.0);
break; break;
case GTK_JUSTIFY_CENTER: case GTK_JUSTIFY_CENTER:
gtk_label_set_xalign (GTK_LABEL (text), 1.0); gtk_label_set_xalign (GTK_LABEL (text), 0.5);
break; break;
} }
gtk_label_set_justify (GTK_LABEL (text), options.data.text_align); gtk_label_set_justify (GTK_LABEL (text), options.data.text_align);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment