Skip to content

Avoir les labels sur les puces #73

@Khaldoche

Description

@Khaldoche

comme ceci:

Capture d’écran, le 2024-11-12 à 15 59 44

voici la solution:

btn = tk.Button(
self.chips_inner_frame,
image=chip_image,
text=chip.chip_type,
compound="center", <<< ------------- ICI REMPLACER TOP PAR CENTER dans sidebar.py -> display_chips
font=fira_code_font,
fg="white", # Set text color to white
bg="#333333",
activebackground="#479dff",
relief="flat",
command=self.create_select_chip_command(chip.chip_type),
width=100, # Fixed width to match image size
height=60, # Fixed height to match image size
)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions