WebSite X5Help Center

 
Eon Day
Eon Day
User

Gallery Object Button Style Editing?  en

Author: Eon Day
Visited 1699, Followers 2, Shared 0  

Would it be possible to create a custom Gallery Object Button Style/Graphic? If not, is there a way to edit the pre-installed set included with X5.  There are a number of styles on the net that I would like to use in multiple projects.

Posted on the
2 ANSWERS - 1 USEFUL - 1 CORRECT
Incomedia
Riccardo P.
Incomedia

Hello Eon,

in the object Gallery you can modify the style of the button. You can also modify the image file in the installation program path, in the "res" fildel.

Hope this help.

Read more
Posted on the from Riccardo P.
Eon Day
Eon Day
User
Author

Thank You!

I was able to add a new button by adding the next consecutive string to the Styles File, 19, 20 , etc:


              <ButtonsStyle>
                      <ID>19</ID>
                      <LeftWidth>28</LeftWidth>
                      <LeftHeight>43</LeftHeight>
                      <LeftTop>0</LeftTop>
                      <LeftLeft>4</LeftLeft>
                      <RightWidth>28</RightWidth>
                      <RightHeight>43</RightHeight>
                      <RightTop>0</RightTop>
                      <RightLeft>4</RightLeft>
              </ButtonsStyle>

and using the existing button style as a template and naming accordingly.

Read more
Posted on the from Eon Day