Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FieldIndicator's layout doesn't consider the "top" LabelAlign config #1872

Open
fabriciomurta opened this issue Feb 8, 2022 · 0 comments
Open
Milestone

Comments

@fabriciomurta
Copy link
Contributor

Found: 5.3.0
Ext.NET Forums' thread: Behavior or LabeAlign="top"

When a field (textfield, combobox, and so on) meets the conditions below:

  1. VBox layout with stretch enabled
  2. The FieldLabel text set
  3. The IndicatorIcon set (i.e. enable the FieldIndicator functionality)
  4. Configured with LabelAlign="Top"

This will cause the input field/dropdown to be sized taking the field width into account, which is wrong when the field's label is aligned at top, thus the field is stretched deducing the width of the label, showing as if it were not adjusted to fit the page.

Using the FormLayout for the immediate contained containing the field avoids the issue.

The field indicator feature is specific to Ext.NET so that's most likely not coming from Ext JS unless further investigation proves otherwise.

@fabriciomurta fabriciomurta added this to the 5.x milestone Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant