beeware / beeware/toga

Tree does not implement styles

Open
#3,005 7 comments 0 reactions 0 assignees View on GitHub
bug gtk linux
Dominant language
Python
Stars
5.4k
Forks
829
Avg merge
15h 39m
Merged PRs (30d)
40

Description

### Describe the bug

Working on adding a dark mode to an application. All widgets except tree can be restyled with color and background color.

### Steps to reproduce

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

### Expected behavior

Tree control should allow changing color and background color.

### Screenshots

![Screenshot from 2024-11-30 10-35-46](https://github.com/user-attachments/assets/3f39799a-1d12-4400-bfa3-61acb2bcaa73)

### Environment

- Operating System: Linux Mint 22 (based on Ubuntu Noble)
- Python version: 3.12.3
- Software versions:
- Briefcase: 0.3.20
- Toga: 0.4.8
- toga-gtk: 0.4.7 (in pyproject.toml)

### Logs

```

```

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Tree control styling behavior with Toga 0.4.8 and toga-gtk 0.4.7 on Linux. Trace the Tree control's styling entry point and verify that setting color and background color takes effect; done when both styles work consistently with the other widgets.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.