You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var application = new Application(Eto.Platform.Detect);
var layout = new PixelLayout();
layout.Add(new Label { Text = "Hello world", BackgroundColor = Colors.Yellow }, 50, 50);
layout.Add(new Label { Text = "Bonjour monde", BackgroundColor = Colors.LightGreen }, 20, 20);
application.Run(new Form { ClientSize = new Size(200, 200), Content = layout });
Expected & Actual Behavior
The above code works in WPF and GTK where labels are sized based on Text. In Mac64 (v2.5.2), the labels are too small and text is cut off. It's possible to work around it by wrapping each label in either a DynamicLayout, TableLayout or StackLayout, but it should not be necessary imho.
The text was updated successfully, but these errors were encountered:
Expected & Actual Behavior
The above code works in WPF and GTK where labels are sized based on Text. In Mac64 (v2.5.2), the labels are too small and text is cut off. It's possible to work around it by wrapping each label in either a DynamicLayout, TableLayout or StackLayout, but it should not be necessary imho.
The text was updated successfully, but these errors were encountered: