Vista Style Builder
Main
News
Screenshots
Forum
Download
More Ave Apps
About
Home
Help
Search
Login
Register
VistaStyleBuilder
>
Help
>
Windows 10
>
IMAGE SIZEMARGINS
Pages: [
1
]
« previous
next »
Print
Author
Topic: IMAGE SIZEMARGINS (Read 5755 times)
Yaron
Beginner
Posts: 50
IMAGE SIZEMARGINS
«
on:
June 03, 2021, 07:52:16 pm »
Hello,
What are the IMAGE SIZEMARGINS and CONTENTMARGINS values?
I suppose that Windows calculate the image's height, divide it by IMAGECOUNT and takes into account SIZEMARGINS as well.
If we take the image in "Toolbars, Headers, & Rebar > Toolbars & Headers > Header > HeaderItem" as an example -
I changed "14" (in SIZEMARGINS) to "6" and apparently there was no difference.
When I changed "14" to "24", there WAS a difference.
I also tried a different height (300 instead of 288, each image 25px instead of 24px), did NOT change SIZEMARGINS and got a good result.
Thank you.
Logged
3am
Beta Tester
Dedicated Helper
Posts: 2428
Re: IMAGE SIZEMARGINS
«
Reply #1 on:
June 03, 2021, 10:28:26 pm »
1) IMAGECOUNT is how many images there are
The IMAGECOUNT for Toolbars, Headers, & Rebar > Toolbars & Headers > Header > HeaderItem is 12 because there is a separate image for each of the 12 states:
2) The MARGINS property has the values (Left, Right, Top, Bottom)
SIZINGMARGINS are used to determine how far you want an image to stretch. If you have (0, 0, 10, 0) your image can stretch everywhere except 10 pixels from the top
CONTENTMARGINS determine how much space is around an image. (0, 0, 0, 10) will move an image 10 pixels up so it will have a 10 pixel space at the bottom
«
Last Edit: June 03, 2021, 11:16:52 pm by 3am
»
Logged
Yaron
Beginner
Posts: 50
Re: IMAGE SIZEMARGINS
«
Reply #2 on:
June 04, 2021, 10:34:12 am »
Thank you for the explanation. I appreciate it.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Main
-----------------------------
=> Announcements
=> Notices
=> Requested Feedback
=> Future Concepts and Ideas
-----------------------------
Windows Style Builder
-----------------------------
=> Bug Reports
-----------------------------
Help
-----------------------------
=> Windows Vista
=> Windows 7
=> Windows 8 / Windows 8.1
=> Windows 10
-----------------------------
Tips and Visual Styles
-----------------------------
=> Tips and Tricks
=> StyleHacks
=> Visual Styles
-----------------------------
Other
-----------------------------
=> Projects
===> Base
=====> "Octal"
=> Other
Loading...