picoe / Eto

Cross platform GUI framework for desktop and mobile applications in .NET
Other
3.57k stars 325 forks source link

[GTK] Toolbar buttons with only icon, no text, wider than it should be #2461

Open Serg-Norseman opened 1 year ago

Serg-Norseman commented 1 year ago

Expected Behavior

Toolbar buttons (ButtonToolItem) with unused text (only an icon) must be of adequate size.

Actual Behavior

The toolbar buttons are about one and a half wider.

Steps to Reproduce the Problem

  1. Open Eto.Test -> ToolBarSection.cs
  2. ShowTestDialog() -> switch (typeDropDown.SelectedKey?.ToLowerInvariant()) -> case "button"
  3. Replace Text = $"Button{++count}" to Text = ""

Specifications