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

[🐛 BUG] Default stylekit should be consistent #2262

Open
1 of 7 tasks
AlexandreSajus opened this issue Nov 20, 2024 · 1 comment
Open
1 of 7 tasks

[🐛 BUG] Default stylekit should be consistent #2262

AlexandreSajus opened this issue Nov 20, 2024 · 1 comment
Labels
GUI: Front-End 💥Malfunction Addresses an identified problem. 🟧 Priority: High Must be addressed as soon

Comments

@AlexandreSajus
Copy link
Contributor

AlexandreSajus commented Nov 20, 2024

What went wrong? 🤔

Visual elements should have the similar position and layouts in the default stylekit. For example, if I place a selector and a button side by side, they should be aligned:

from taipy.gui import Gui
import taipy.gui.builder as tgb


with tgb.Page() as page:
    with tgb.layout(columns="1 1 10"):
        with tgb.part():
            tgb.button("Click me")
        with tgb.part():
            tgb.selector("{selected}", lov="Furniture;Desk", dropdown=True)

Gui(page=page).run()

Here, they are misaligned:
image

This issue makes layouts a CSS nightmare in any application:
image

Browsers

Chrome

OS

Windows

Version of Taipy

4.0.1

Acceptance Criteria

  • A unit test reproducing the bug is added.
  • Any new code is covered by a unit tested.
  • Check code coverage is at least 90%.
  • The bug reporter validated the fix.
  • Related issue(s) in taipy-doc are created for documentation and Release Notes are updated.

Code of Conduct

  • I have checked the existing issues.
  • I am willing to work on this issue (optional)
@AlexandreSajus AlexandreSajus added 💥Malfunction Addresses an identified problem. 🟧 Priority: High Must be addressed as soon GUI: Front-End labels Nov 20, 2024
@Pushparaj13811
Copy link

Hi,

I would like to help resolve this issue. I will investigate the cause and implement a fix to ensure the layout elements align correctly across browsers. I will also add a unit test to reproduce the bug and ensure that the solution is thoroughly covered.

Looking forward to contributing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GUI: Front-End 💥Malfunction Addresses an identified problem. 🟧 Priority: High Must be addressed as soon
Projects
None yet
Development

No branches or pull requests

2 participants