WebSite X5Help Center

 
Eon Day
Eon Day
User

Gallery Object Button Style Editing?  en

Auteur : Eon Day
Visité 1727, Followers 2, Partagé 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.

Posté le
2 RéPONSES - 1 UTILES - 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.

Lire plus
Posté le de Riccardo P.
Eon Day
Eon Day
User
Auteur

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.

Lire plus
Posté le de Eon Day