WebSite X5Help Center

 
Eon Day
Eon Day
User

Gallery Object Button Style Editing?  en

Autor: Eon Day
Besucht 1938, Followers 2, Geteilt 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.

Gepostet am
2 ANTWORTEN - 1 NüTZLICH - 1 KORREKT
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.

Mehr lesen
Gepostet am von 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.

Mehr lesen
Gepostet am von Eon Day