[Gtk-sharp-list] label

Christian Hoff christian_hoff at gmx.net
Thu Sep 4 01:52:24 EDT 2008


If you want to align the label's text, try label.SetAlignment (1f, 0.5f) 
to make the text aligned to the middle right.
>  Hi,
> can someone please tell me what's wrong with this code.
>
> protected virtual void onBtnRightClicked (object sender, System.EventArgs e)
> 	{
> 		label1.Justify = Justification.Right;
> 	}
>
> i have three buttons  Left Justification, Center and Right and a label
> widget with text that i want to move around.
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>
>   



More information about the Gtk-sharp-list mailing list