Avaiga / taipy

Turns Data and AI algorithms into production-ready web applications in no time.
https://www.taipy.io
Apache License 2.0
15.55k stars 1.86k forks source link

Better default height for metrics property #2142

Open FlorianJacta opened 1 month ago

FlorianJacta commented 1 month ago

Description

The height of a metric is taking more than half the available height of my page. This will never be a correct value. (I would also argue the same for the width) A new default height should be defined.

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

value = 50

with tgb.Page() as page:
    tgb.metric("{value}", type="none")

Gui(page=page).run(title="Frontend Demo")

image

Acceptance Criteria

Code of Conduct

sahilborse commented 1 month ago

/attempt @FlorianJacta please assign me this issue i can work on it

FlorianJacta commented 1 month ago

Here you go @sahilborse

sahilborse commented 1 month ago

@FlorianJacta can you elaborate the issue As should height be relative to the screen size

FlorianJacta commented 1 month ago

See the other issue here too because it is related: https://github.com/Avaiga/taipy/issues/2141

The goal is to change the default height of the metric viz element

naaa760 commented 1 month ago

Hello @FlorianJacta I want to assign for this issue! THankyou!

Manideep-Maddileti commented 1 month ago

hello @FlorianJacta I want to work on this issue can you please assign this issue to me

PentesterPriyanshu commented 1 month ago

@FlorianJacta i am working on this issue assign to me

FlorianJacta commented 1 month ago

@naaa760 you are assigned tooo

github-actions[bot] commented 2 weeks ago

This issue has been labelled as "🥶Waiting for contributor" because it has been inactive for more than 14 days. If you would like to continue working on this issue, please add another comment or create a PR that links to this issue. If a PR has already been created which refers to this issue, then you should explicitly mention this issue in the relevant PR. Otherwise, you will be unassigned in 14 days. For more information please refer to the contributing guidelines.

Pranshu-jais commented 1 week ago

Hi @FlorianJacta I want to work on this issue can you please assign this issue to me

FlorianJacta commented 1 week ago

Sure, I am assigning you this issue @Pranshu-jais