Skip to content

Conversation

@7576457
Copy link
Contributor

@7576457 7576457 commented Jan 21, 2026

Description

Made TextButton style actually work and allowed Dropdown to expand fully

issues:

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist

  • I signed the CLA.
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • New and existing tests pass locally with my changes
  • I have made corresponding changes to the documentation (if applicable)

Screenshots

image image

Additional details

Summary by Sourcery

Fix button styling and dropdown layout behavior to honor configured styles and horizontal expansion.

Bug Fixes:

  • Make button controls correctly apply the configured style from control properties.
  • Allow dropdown controls to fully expand horizontally when the expand property is set.

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've reviewed this pull request using the Sourcery rules engine

@7576457 7576457 changed the title fix: allow Dropdown to expand horizontally (#6044) Enable TextButton style and full-width Dropdown Jan 21, 2026
@7576457 7576457 changed the title Enable TextButton style and full-width Dropdown fix: Enable TextButton style and full-width Dropdown Jan 21, 2026
7576457 and others added 2 commits January 23, 2026 01:55
Co-authored-by: TheEthicalBoy <98978078+ndonkoHenri@users.noreply.github.com>
Copy link
Contributor

@ndonkoHenri ndonkoHenri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! 😄

@FeodorFitsner FeodorFitsner merged commit 8de487a into flet-dev:main Jan 23, 2026
33 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: ButtonStyle in TextButton has no effect bug: [Flet 0.80.1] How can i expand a dropdown to all horizontal available space ?

3 participants