From a7c200496f4171b14272be7730cacf9fe259c105 Mon Sep 17 00:00:00 2001 From: halw Date: Tue, 8 Nov 2011 21:21:53 +0000 Subject: [PATCH] Author:halw Date:2011-11-08T21:21:53.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1009 abb3cda0-5349-4a8f-a601-0c33ac3a8c38 --- .../eiffelribbon-design-tool.wiki | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/documentation/current/platform-specifics/microsoft-windows/eiffelribbon/eiffelribbon-design-tool.wiki b/documentation/current/platform-specifics/microsoft-windows/eiffelribbon/eiffelribbon-design-tool.wiki index 0756bd05..524aabe8 100644 --- a/documentation/current/platform-specifics/microsoft-windows/eiffelribbon/eiffelribbon-design-tool.wiki +++ b/documentation/current/platform-specifics/microsoft-windows/eiffelribbon/eiffelribbon-design-tool.wiki @@ -47,4 +47,34 @@ In addition to using the size definitions provided, it is possible to create you Figure 3. EiffelRibbon tool with the Size Definition Editor pinned open. +Use the Size Definition Editor to create custom size definitions for your ribbon designs. The '''Add button''' button will add a new button placeholder to a custom size definition. A selected button placeholder can be altered to show or hide its label and use its small or large size. + + +[[Image: Size Definition Editor 02|Button placeholders]] + +Figure 4. Two button placeholders in a custom size definition; one selected, small, and with label hidden, the other unselected, large with label visible. + + +Once a custom size definition has been designed, it can be named, saved, and used in a ribbon design. + + +[[Image: Size Definition Editor 03|Name field and Save button]] + +Figure 5. The Size Definition Editor naming field and '''Save''' button. + + +==Scaling policy== + +The notion of adaptive layout includes the ability to specify preferred sizes for elements of a group and a scaling policy that can influence how the group reacts to resizing. More detail on size definition and scaling policy is available in Microsoft's '''[http://msdn.microsoft.com/en-us/library/windows/desktop/dd316927(v=vs.85).aspx ribbon documentation]'''. + +The EiffelRibbon tool allows you to specify ideal sizes and scale policy for a groups elements through the '''Ideal sizes''' radio buttons and the '''Scale''' checkboxes, as shown in Figure 6 below. + + +[[Image: EiffelRibbon design tool 02|Scaling policy elements: "Ideal sizes" and "Scale"]] + +Figure 6. A group definition showing its size definition and the scaling policy elements "Ideal sizes" and "Scale". + + + +