Skip to content

Commit

Permalink
Merge pull request #1857 from cwensley/curtis/gtk-stepper-fixes
Browse files Browse the repository at this point in the history
Gtk: Fix styling of Stepper so the buttons aren't chopped off.
  • Loading branch information
cwensley committed Dec 30, 2020
2 parents 09507a4 + ea8ea18 commit a94f850
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Eto.Gtk/Platform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ static Platform()
Style.Add<ThemedStepperHandler>(null, h =>
{
h.Orientation = Orientation.Horizontal;
h.Widget.Size = new Size(50, 30);
h.Widget.Size = new Size(-1, -1);
h.Font = SystemFonts.Default();
if (h.Control.Content.Handler is TableLayoutHandler table)
{
table.Control.StyleContext.AddClass("linked");
Expand Down

0 comments on commit a94f850

Please sign in to comment.