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

Problems when layout is scaled #65

Closed
pekspro opened this issue Feb 12, 2015 · 7 comments
Closed

Problems when layout is scaled #65

pekspro opened this issue Feb 12, 2015 · 7 comments
Assignees
Labels
Milestone

Comments

@pekspro
Copy link
Contributor

pekspro commented Feb 12, 2015

I’ve added this in the test project TestWindow.xaml

    <FluentTest:TestContent.LayoutTransform>
        <TransformGroup>
            <ScaleTransform ScaleX="1.5" />
            <ScaleTransform ScaleY="1.5" />
        </TransformGroup>
    </FluentTest:TestContent.LayoutTransform>

This will make everything 50% larger. And it looks pretty good in all themes. But one problem occur when ribbon is minimized and then a tab is pressed the ribbon popups up slightly to low:

scalingproblem

I’ve figure out that the problem is the PlacementAttribute in the PART_Popup PopUp in RibbonTabControl (all themes). But I don’t know what to do next :-).

Even weirder things happens if RotateTransform is used with 15 degrees or so. But that’s not important I think :-). But scaling could actually be useful. This is something I want to use in my application someday in a distant future :-)

@batzen
Copy link
Member

batzen commented Feb 16, 2015

Hmm... will have a look at this at work as I think we don't have that issue...

@pekspro
Copy link
Contributor Author

pekspro commented Feb 18, 2015

Is just noticed that if I go in Windows display settings and choice to make all object 125% or 150% I get a similar result.

@batzen
Copy link
Member

batzen commented Feb 18, 2015

Also got this issue at work. Will fix it soon.

@batzen batzen self-assigned this Feb 18, 2015
@batzen batzen added this to the Next milestone Feb 18, 2015
@batzen batzen closed this as completed in e3b324f Feb 20, 2015
@batzen
Copy link
Member

batzen commented Feb 20, 2015

Added zooming to the showcase application to prevent issues in the future.

@pekspro
Copy link
Contributor Author

pekspro commented Feb 20, 2015

Nice work, the pop up seems to work better now :-). But I see a similar problem if you open a combo box, the list with the items seems also be a bit offset.

@batzen
Copy link
Member

batzen commented Feb 20, 2015

Fixed.

@pekspro
Copy link
Contributor Author

pekspro commented Feb 20, 2015

Brilliant! Nice work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants