kritzelkratz
Topic Author
Posts: 18
Joined: 19 Sep 2013, 17:44

Horizontal size of a Popup in a ComboBox can not exceed 1024

06 Nov 2013, 11:02

can anybody confirm that the horizontal size of the Popup in a ComboBox can not exceed 1024 pixels?
everything above 1024 seems to get cut off. the ComboBox ToggleButton (DropDownButton) does not have this limit and displays correctly.
 
User avatar
sfernandez
Site Admin
Posts: 1918
Joined: 22 Dec 2011, 19:20

Re: horizontal size of a Popup in a ComboBox can not exceed

06 Nov 2013, 12:27

Hi,

I tried the following xaml:
<Grid
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Background="White">
    <ComboBox VerticalAlignment="Center" Margin="5">
        <ComboBoxItem Content="First item in the list"/>
        <ComboBoxItem Content="Second item in the list"/>
        <ComboBoxItem Content="Third item in the list"/>
        <ComboBoxItem Content="Fourth item in the list"/>
    </ComboBox>
</Grid>
In a FullHD monitor, with the option 'Maximize on Play' so the ComboBox extends to almost 1900 pixels, and the Popup has no limitations in its width, it is sized to the width of the parent ComboBox.
popup-width.png
 
kritzelkratz
Topic Author
Posts: 18
Joined: 19 Sep 2013, 17:44

Re: horizontal size of a Popup in a ComboBox can not exceed

06 Nov 2013, 17:27

ok, our problem seems to be that the width of the popup is limited by something else.
in our setup, we use a viewbox with a width of 2048, regardless of the screen it will run on.
if you display the following code in the unity editor with a screen size of 1024x768, you can see how the popup is cut off.
<Viewbox Stretch="Uniform">
    <Grid x:Name="LayoutRoot" Background="White"
        Width="2048" Height="1536" SnapsToDevicePixels="true">

     <ComboBox VerticalAlignment="Center" Margin="5">
        <ComboBoxItem Content="First item in the list"/>
        <ComboBoxItem Content="Second item in the list"/>
        <ComboBoxItem Content="Third item in the list"/>
        <ComboBoxItem Content="Fourth item in the list"/>
    </ComboBox>
   
    </Grid>
</Viewbox>
 
User avatar
sfernandez
Site Admin
Posts: 1918
Joined: 22 Dec 2011, 19:20

Re: horizontal size of a Popup in a ComboBox can not exceed

06 Nov 2013, 19:13

Ok, with this layout I was able to reproduce what you were explaining. It seems that there is bug in the Popup layout code when it is placed inside a Viewbox. Will be solved as soon as possible ;)
 
kritzelkratz
Topic Author
Posts: 18
Joined: 19 Sep 2013, 17:44

Re: Horizontal size of a Popup in a ComboBox can not exceed

07 Nov 2013, 11:24

thanks!
 
kritzelkratz
Topic Author
Posts: 18
Joined: 19 Sep 2013, 17:44

Re: Horizontal size of a Popup in a ComboBox can not exceed

06 Mar 2014, 15:13

this bug is still there, and it is a major bug in our product.
are there still plans to fix this? if so, an estimate would be much appreciated, so that we can plan accordingly.

thanks!
 
User avatar
sfernandez
Site Admin
Posts: 1918
Joined: 22 Dec 2011, 19:20

Re: Horizontal size of a Popup in a ComboBox can not exceed

06 Mar 2014, 17:06

This problem was planned to be solved alongside other issues related to Popup elements. But being a top priority for you, we will fix it during current iteration.

I've seen you created the ticket in the bugtracker so we will follow the evolution of this issue there.

Thanks for your patience.

Who is online

Users browsing this forum: No registered users and 1 guest