public LabelHandler() { Control = new EtoLabel { AutoSize = true }; }
public LabelHandler() { eventBox = new Gtk.EventBox(); //eventBox.VisibleWindow = false; Control = new EtoLabel(); Wrap = WrapMode.Word; Control.SetAlignment(0, 0); eventBox.Child = Control; }
public LabelHandler() { eventBox = new Gtk.EventBox(); eventBox.VisibleWindow = false; Control = new EtoLabel { SingleLineMode = false, LineWrap = true, LineWrapMode = Pango.WrapMode.Word }; Control.SetAlignment(0, 0); eventBox.Child = (Gtk.Label)Control; }
public LabelHandler() { text = new swc.AccessText(); Control = new EtoLabel { Padding = new sw.Thickness(0), Content = text }; Control.Target = Control; HorizontalAlign = HorizontalAlign.Left; VerticalAlign = VerticalAlign.Top; }
public LabelHandler() { eventBox = new EtoEventBox { Handler = this }; #if GTK2 eventBox.ResizeMode = Gtk.ResizeMode.Immediate; #endif Control = new EtoLabel(); Control.Xalign = 0; Control.Yalign = 0; eventBox.Child = Control; Wrap = WrapMode.Word; }
public LabelHandler() { Enabled = true; Control = new EtoLabel { Handler = this, Cell = new MyTextFieldCell { StringValue = string.Empty }, DrawsBackground = false, Bordered = false, Bezeled = false, Editable = false, Selectable = false, Alignment = NSTextAlignment.Left }; is106 = Control.Cell.RespondsToSelector(new Selector("setUsesSingleLineMode:")); if (is106) Control.Cell.UsesSingleLineMode = false; Control.Cell.LineBreakMode = NSLineBreakMode.ByWordWrapping; }
public LabelHandler() { Enabled = true; paragraphStyle = new NSMutableParagraphStyle(); str = new NSMutableAttributedString(); textColor = NSColor.Text; underlineIndex = -1; Control = new EtoLabel { Handler = this, Cell = new MyTextFieldCell(), DrawsBackground = false, Bordered = false, Bezeled = false, Editable = false, Selectable = false, Alignment = NSTextAlignment.Left, }; if (supportsSingleLine) { Control.Cell.UsesSingleLineMode = false; } paragraphStyle.LineBreakMode = NSLineBreakMode.ByWordWrapping; }
public LabelHandler() { Control = new EtoLabel(this); }