timheuer / callisto

A control toolkit for Windows 8 XAML applications. Contains some UI controls to make it easier to create Windows UI style apps for the Windows Store in accordance with Windows UI guidelines.
http://timheuer.com/blog/archive/2012/05/31/introducing-callisto-a-xaml-toolkit-for-metro-apps.aspx
Other
338 stars 108 forks source link

Allow to set the Margin of the Content in the Settings Flyout to 0 #58

Closed pedropaf closed 12 years ago

pedropaf commented 12 years ago

I have created a user control that I want to use as the content for my Settings Flyout. It's possible, but the flyout seems to add a default margin of about 20px. It would be nice to set that margin to 0 and I could control the whole content section.

Thanks

timheuer commented 12 years ago

I will probably close this as the design of the settings area in the ui guidelines has these margins set.

On Tuesday, July 10, 2012, pedropaf wrote:

I have created a user control that I want to use as the content for my Settings Flyout. It's possible, but the flyout seems to add a default margin of about 20px. It would be nice to set that margin to 0 and I could control the whole content section.

Thanks


Reply to this email directly or view it on GitHub: https://github.com/timheuer/callisto/issues/58


http://timheuer.com/blog/ twitter: @timheuer

pedropaf commented 12 years ago

I think that it's nice to have it by default, but giving access to the whole flyout is a need in some cases.

In my specific case, I wanted to have a thin subtle horizontal line from edge to edge to separate some areas, more for design purposes than anything else.

Thanks for the great work.

Pedro

On 10 Jul 2012, at 17:47, Tim Heuerreply@reply.github.com wrote:

I will probably close this as the design of the settings area in the ui guidelines has these margins set.

On Tuesday, July 10, 2012, pedropaf wrote:

I have created a user control that I want to use as the content for my Settings Flyout. It's possible, but the flyout seems to add a default margin of about 20px. It would be nice to set that margin to 0 and I could control the whole content section.

Thanks


Reply to this email directly or view it on GitHub: https://github.com/timheuer/callisto/issues/58


http://timheuer.com/blog/ twitter: @timheuer


Reply to this email directly or view it on GitHub: https://github.com/timheuer/callisto/issues/58#issuecomment-6881296

timheuer commented 12 years ago

horizontal line should be fine...put that in your usercontrol and set the usercontrol as content


http://timheuer.com/blog/ twitter: @timheuer

On Tue, Jul 10, 2012 at 12:15 PM, pedropaf < reply@reply.github.com

wrote:

I think that it's nice to have it by default, but giving access to the whole flyout is a need in some cases.

In my specific case, I wanted to have a thin subtle horizontal line from edge to edge to separate some areas, more for design purposes than anything else.

Thanks for the great work.

Pedro

On 10 Jul 2012, at 17:47, Tim Heuerreply@reply.github.com wrote:

I will probably close this as the design of the settings area in the ui guidelines has these margins set.

On Tuesday, July 10, 2012, pedropaf wrote:

I have created a user control that I want to use as the content for my Settings Flyout. It's possible, but the flyout seems to add a default margin of about 20px. It would be nice to set that margin to 0 and I could control the whole content section.

Thanks


Reply to this email directly or view it on GitHub: https://github.com/timheuer/callisto/issues/58


http://timheuer.com/blog/ twitter: @timheuer


Reply to this email directly or view it on GitHub: https://github.com/timheuer/callisto/issues/58#issuecomment-6881296


Reply to this email directly or view it on GitHub: https://github.com/timheuer/callisto/issues/58#issuecomment-6885763

diegopoza commented 12 years ago

Please consider the following scenario: I have a content that needs scrolling (Disclaimer). If I put the ScrollViewer in my user control it is separated 20px from the right side, and it doesn't feel ok. How can I make the scroll bar appear in the right side of the FlyoutSettings when the content overflows the flyout's height?