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

ProgressBar.Width doesn't take effect #19126

Open
ForkBug opened this issue Dec 26, 2024 · 0 comments
Open

ProgressBar.Width doesn't take effect #19126

ForkBug opened this issue Dec 26, 2024 · 0 comments
Assignees
Labels
kind/bug Something isn't working project/layout 🧱 Categorizes an issue or PR as relevant to layouting and containers (Measure/Arrange, Collections,..) project/styling 👔 Categorizes an issue or PR as relevant to element styling

Comments

@ForkBug
Copy link

ForkBug commented Dec 26, 2024

Current behavior

Screenshot 2024-12-26 154947

The following code gets the above result
`

<Grid utu:SafeArea.Insets="VisibleBounds">
        <Grid ColumnDefinitions="50,100,50,50,50" Height="15"
              Margin="50,0">
            <TextBlock Grid.Column="0"
                       FontSize="12"
                       Margin="7,0"
                       Text="20"
                       Visibility="Visible" />
            <ProgressBar 
                         IsIndeterminate="False"
                         Grid.Column="1"
                         Maximum="50"
                         Width="30"
                         Value="30"
                         Margin="10,0"
                         Height="2"
                         Foreground="{ThemeResource PrimaryColor}" />
            <TextBlock Grid.Column="2"
                       Text="20"
                       Margin="7,0,3,0"
                       FontSize="12" />
            <TextBlock Grid.Column="3"
                       Margin="3,0"
                       Text="20"
                       FontSize="12" />
            <TextBlock Grid.Column="4"
                       Text="20"
                       Margin="3,0"
                       FontSize="12" />
        </Grid>
    </Grid>

`

Expected behavior

No overlapping for the progress bar

How to reproduce it (as minimally and precisely as possible)

UnoApp1.zip
See the minimal reproducing project.

Workaround

No. A workaround before the issue fixed is highly appreciated.

Works on UWP/WinUI

No

Environment

Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia

NuGet package version(s)

5.5.56

Affected platforms

Android

IDE

Visual Studio 2022

IDE version

N/A

Relevant plugins

No

Anything else we need to know?

No response

@ForkBug ForkBug added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Dec 26, 2024
@morning4coffe-dev morning4coffe-dev self-assigned this Dec 28, 2024
@MartinZikmund MartinZikmund added project/styling 👔 Categorizes an issue or PR as relevant to element styling project/layout 🧱 Categorizes an issue or PR as relevant to layouting and containers (Measure/Arrange, Collections,..) project/input ⌨️ Categorizes an issue or PR as relevant to input (Button, CheckBox, Toggle, Scroll, Map, Numeric,...) and removed triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. project/input ⌨️ Categorizes an issue or PR as relevant to input (Button, CheckBox, Toggle, Scroll, Map, Numeric,...) labels Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working project/layout 🧱 Categorizes an issue or PR as relevant to layouting and containers (Measure/Arrange, Collections,..) project/styling 👔 Categorizes an issue or PR as relevant to element styling
Projects
None yet
Development

No branches or pull requests

3 participants