WebSite X5Help Center

 
Eon Day
Eon Day
User

Gallery Object Button Style Editing?  en

Autor: Eon Day
Visitado 1719, Seguidores 2, Compartilhado 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.

Publicado em
2 RESPOSTAS - 1 ÚTIL - 1 CORRIGIR
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.

Ler mais
Publicado em de Riccardo P.
Eon Day
Eon Day
User
Autor

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.

Ler mais
Publicado em de Eon Day