Skip to content

Conversation

@Tucchhaa
Copy link
Contributor

No description provided.

@Tucchhaa Tucchhaa self-assigned this Jan 21, 2026
@Tucchhaa Tucchhaa marked this pull request as ready for review January 22, 2026 08:32
@Tucchhaa Tucchhaa requested a review from a team as a code owner January 22, 2026 08:32
Copilot AI review requested due to automatic review settings January 22, 2026 08:32
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes layout issues in the Scheduler appointment form when labelMode is set to 'static'. The fix dynamically adjusts icon positioning based on whether form field labels are positioned at the top or inline.

Changes:

  • Added dynamic icon alignment logic that detects label positioning and applies appropriate CSS classes
  • Removed hardcoded CSS margin rules and replaced them with conditional class-based styling
  • Added visual regression tests for labelMode='static' scenarios

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/devextreme/js/__internal/scheduler/appointment_popup/m_form.ts Added new CSS class constants and alignIconsWithEditors() method to dynamically apply margin classes to icons based on label positioning
packages/devextreme-scss/scss/widgets/generic/scheduler/_sizes.scss Added new SCSS variable for icon inner-label margin-top in generic theme
packages/devextreme-scss/scss/widgets/generic/scheduler/_index.scss Added CSS rule for .dx-scheduler-form-inner-label-offset class
packages/devextreme-scss/scss/widgets/base/scheduler/_index.scss Moved margin-top from icon to top-label-offset class, removed hardcoded overrides
e2e/testcafe-devextreme/tests/scheduler/common/appointmentForm/recurrence-form.visual.ts Added visual test for recurrence form with labelMode='static'
e2e/testcafe-devextreme/tests/scheduler/common/appointmentForm/form.visual.ts Added visual test for main appointment form with labelMode='static'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants