elementary / elementary/granite

HeaderLabel: Too wide paddings when using in Gtk.ListBoxRow

Open
#939 0 comments 1 reaction 0 assignees View on GitHub
Priority: Low Status: Confirmed
Dominant language
Vala
Stars
329
Forks
65
Avg merge
1d 14h
Merged PRs (30d)
31

Description

### What Happened?

Originally from https://github.com/elementary/settings-applications/pull/268#discussion_r2632882081

Using Granite.HeaderLabel in Gtk.ListBoxRow introduces unnecessarily wide paddings (see the left pane):

Screenshot from 2025-12-18 14 46 05

c.f. using Gtk.Label in Gtk.ListBoxRow does not:

Screenshot from 2025-12-18 14 46 27

### Steps to Reproduce

See the screenshots above.

### Expected Behavior

Paddings should be decent even when used in Gtk.ListBoxRow.

### OS Version

8.x (Circe)

### OS Architecture

arm64 (on Raspberry Pi, Apple Silicon, etc.)

### Session Type

Secure Session (Wayland, This is the default)

### Software Version

Compiled from git

### Log Output

```shell

```

### Hardware Info

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.