📄 vanilla.looknfeel
字号:
<Property name="UseStandardImagery" value="False" />
<Property name="NormalImage" value="set:Vanilla-Images image:ScrollRightArrow" />
<Property name="HoverImage" value="set:Vanilla-Images image:ScrollRightArrow" />
<Property name="PushedImage" value="set:Vanilla-Images image:ScrollRightArrow" />
</Child>
<Child type="Vanilla/Button" nameSuffix="__auto_decbtn__">
<Area>
<Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="Width" ><UnifiedDim scale="1" type="Height" /></Dim>
<Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
</Area>
<VertAlignment type="CentreAligned" />
<Property name="UseStandardImagery" value="False" />
<Property name="NormalImage" value="set:Vanilla-Images image:ScrollLeftArrow" />
<Property name="HoverImage" value="set:Vanilla-Images image:ScrollLeftArrow" />
<Property name="PushedImage" value="set:Vanilla-Images image:ScrollLeftArrow" />
</Child>
<Child type="Vanilla/HorizontalScrollbarThumb" nameSuffix="__auto_thumb__">
<Area>
<Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="Width" ><UnifiedDim scale="1" type="Height" /></Dim>
<Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
</Area>
</Child>
<ImagerySection name="main">
<ImageryComponent>
<Area>
<Dim type="LeftEdge"><WidgetDim widget="__auto_decbtn__" dimension="RightEdge" /></Dim>
<Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
<Dim type="RightEdge">
<UnifiedDim scale="1" type="RightEdge">
<DimOperator op="Subtract">
<WidgetDim widget="__auto_incbtn__" dimension="Width" />
</DimOperator>
</UnifiedDim>
</Dim>
<Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
</Area>
<Image imageset="Vanilla-Images" image="HorzScrollContainer" />
<VertFormat type="Stretched" />
<HorzFormat type="Stretched" />
</ImageryComponent>
</ImagerySection>
<StateImagery name="Enabled">
<Layer>
<Section section="main" />
</Layer>
</StateImagery>
<StateImagery name="Disabled">
<Layer>
<Section section="main" />
</Layer>
</StateImagery>
</WidgetLook>
<WidgetLook name="Vanilla/VerticalScrollbar">
<Property name="VerticalScrollbar" value="True" />
<NamedArea name="ThumbTrackArea">
<Area>
<Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge" ><WidgetDim widget="__auto_decbtn__" dimension="BottomEdge" /></Dim>
<Dim type="RightEdge" ><UnifiedDim scale="1.0" type="RightEdge" /></Dim>
<Dim type="BottomEdge" >
<UnifiedDim scale="1.0" type="BottomEdge">
<DimOperator op="Subtract">
<WidgetDim widget="__auto_incbtn__" dimension="Height" />
</DimOperator>
</UnifiedDim>
</Dim>
</Area>
</NamedArea>
<Child type="Vanilla/Button" nameSuffix="__auto_incbtn__">
<Area>
<Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
<Dim type="Height" ><UnifiedDim scale="1" type="Width" /></Dim>
</Area>
<VertAlignment type="BottomAligned" />
<HorzAlignment type="CentreAligned" />
<Property name="UseStandardImagery" value="False" />
<Property name="NormalImage" value="set:Vanilla-Images image:ScrollDownArrow" />
<Property name="HoverImage" value="set:Vanilla-Images image:ScrollDownArrow" />
<Property name="PushedImage" value="set:Vanilla-Images image:ScrollDownArrow" />
</Child>
<Child type="Vanilla/Button" nameSuffix="__auto_decbtn__">
<Area>
<Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
<Dim type="Height" ><UnifiedDim scale="1" type="Width" /></Dim>
</Area>
<HorzAlignment type="CentreAligned" />
<Property name="UseStandardImagery" value="False" />
<Property name="NormalImage" value="set:Vanilla-Images image:ScrollUpArrow" />
<Property name="HoverImage" value="set:Vanilla-Images image:ScrollUpArrow" />
<Property name="PushedImage" value="set:Vanilla-Images image:ScrollUpArrow" />
</Child>
<Child type="Vanilla/VerticalScrollbarThumb" nameSuffix="__auto_thumb__">
<Area>
<Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
<Dim type="Height" ><UnifiedDim scale="1" type="Width" /></Dim>
</Area>
</Child>
<ImagerySection name="main">
<ImageryComponent>
<Area>
<Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge" ><WidgetDim widget="__auto_decbtn__" dimension="BottomEdge" /></Dim>
<Dim type="RightEdge" ><UnifiedDim scale="1.0" type="RightEdge" /></Dim>
<Dim type="BottomEdge" >
<UnifiedDim scale="1.0" type="BottomEdge">
<DimOperator op="Subtract">
<WidgetDim widget="__auto_incbtn__" dimension="Height" />
</DimOperator>
</UnifiedDim>
</Dim>
</Area>
<Image imageset="Vanilla-Images" image="VertScrollContainer" />
<VertFormat type="Stretched" />
<HorzFormat type="Stretched" />
</ImageryComponent>
</ImagerySection>
<StateImagery name="Enabled">
<Layer>
<Section section="main" />
</Layer>
</StateImagery>
<StateImagery name="Disabled">
<Layer>
<Section section="main" />
</Layer>
</StateImagery>
</WidgetLook>
<WidgetLook name="Vanilla/StaticImage">
<PropertyDefinition name="ImageColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" />
<PropertyDefinition name="VertFormatting" initialValue="Stretched" redrawOnWrite="true" />
<PropertyDefinition name="HorzFormatting" initialValue="Stretched" redrawOnWrite="true" />
<Property name="BackgroundEnabled" value="True" />
<Property name="FrameEnabled" value="True" />
<ImagerySection name="image_withframe">
<ImageryComponent>
<Area>
<Dim type="LeftEdge" ><ImageDim imageset="Vanilla-Images" image="FrameLeft" dimension="Width" /></Dim>
<Dim type="TopEdge" ><ImageDim imageset="Vanilla-Images" image="FrameTop" dimension="Height" /></Dim>
<Dim type="RightEdge" >
<UnifiedDim scale="1" type="RightEdge">
<DimOperator op="Subtract">
<ImageDim imageset="Vanilla-Images" image="FrameRight" dimension="Width" />
</DimOperator>
</UnifiedDim>
</Dim>
<Dim type="BottomEdge" >
<UnifiedDim scale="1" type="BottomEdge">
<DimOperator op="Subtract">
<ImageDim imageset="Vanilla-Images" image="FrameBottom" dimension="Height" />
</DimOperator>
</UnifiedDim>
</Dim>
</Area>
<ImageProperty name="Image" />
<ColourRectProperty name="ImageColours" />
<VertFormatProperty name="VertFormatting" />
<HorzFormatProperty name="HorzFormatting" />
</ImageryComponent>
</ImagerySection>
<ImagerySection name="image_noframe">
<ImageryComponent>
<Area>
<Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="RightEdge" ><UnifiedDim scale="1.0" type="RightEdge" /></Dim>
<Dim type="BottomEdge" ><UnifiedDim scale="1.0" type="BottomEdge" /></Dim>
</Area>
<ImageProperty name="Image" />
<ColourRectProperty name="ImageColours" />
<VertFormatProperty name="VertFormatting" />
<HorzFormatProperty name="HorzFormatting" />
</ImageryComponent>
</ImagerySection>
<StateImagery name="Enabled" />
<StateImagery name="Disabled" />
<StateImagery name="EnabledFrame">
<Layer>
<Section look="Vanilla/Shared" section="FrameOnly">
<Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
</Section>
</Layer>
</StateImagery>
<StateImagery name="DisabledFrame">
<Layer>
<Section look="Vanilla/Shared" section="FrameOnly">
<Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
</Section>
</Layer>
</StateImagery>
<StateImagery name="WithFrameEnabledBackground">
<Layer>
<Section look="Vanilla/Shared" section="BackgroundOnly">
<Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
</Section>
</Layer>
</StateImagery>
<StateImagery name="WithFrameDisabledBackground">
<Layer>
<Section look="Vanilla/Shared" section="BackgroundOnly">
<Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
</Section>
</Layer>
</StateImagery>
<StateImagery name="NoFrameEnabledBackground">
<Layer>
<Section look="Vanilla/Shared" section="BackgroundOnlyFull">
<Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
</Section>
</Layer>
</StateImagery>
<StateImagery name="NoFrameDisabledBackground">
<Layer>
<Section look="Vanilla/Shared" section="BackgroundOnlyFull">
<Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
</Section>
</Layer>
</StateImagery>
<StateImagery name="WithFrameImage">
<Layer>
<Section section="image_withframe" />
</Layer>
</StateImagery>
<StateImagery name="NoFrameImage">
<Layer>
<Section section="image_noframe" />
</Layer>
</StateImagery>
</WidgetLook>
<WidgetLook name="Vanilla/StaticText">
<Property name="BackgroundEnabled" value="True" />
<Property name="FrameEnabled" value="True" />
<NamedArea name="WithFrameTextRenderArea">
<Area>
<Dim type="LeftEdge" ><ImageDim imageset="Vanilla-Images" image="FrameLeft" dimension="Width" /></Dim>
<Dim type="TopEdge" ><ImageDim imageset="Vanilla-Images" image="FrameTop" dimension="Height" /></Dim>
<Dim type="RightEdge" >
<UnifiedDim scale="1" type="RightEdge">
<DimOperator op="Subtract">
<ImageDim imageset="Vanilla-Images" image="FrameRight" dimension="Width" />
</DimOperator>
</UnifiedDim>
</Dim>
<Dim type="BottomEdge" >
<UnifiedDim scale="1" type="BottomEdge">
<DimOperator op="Subtract">
<ImageDim imageset="Vanilla-Images" image="FrameBottom" dimension="Height" />
</DimOperator>
</UnifiedDim>
</Dim>
</Area>
</NamedArea>
<NamedArea name="WithFrameTextRenderAreaHScroll">
<Area>
<Dim type="LeftEdge" ><ImageDim imageset="Vanilla-Images" image="FrameLeft" dimension="Width" /></Dim>
<Dim type="TopEdge" ><ImageDim imageset="Vanilla-Images" image="FrameTop" dimension="Height" /></Dim>
<Dim type="RightEdge" >
<UnifiedDim scale="1" type="RightEdge">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -