WebSite X5Help Center

 
Eon Day
Eon Day
User

Gallery Object Button Style Editing?  en

Autor: Eon Day
Visited 1954, Followers 2, Udostępniony 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 ODPOWIEDZI - 1 POMOCNY - 1 PRAWIDłOWA ODPOWIEDź
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.

Czytaj więcej
Posted on the from 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.

Czytaj więcej
Posted on the from Eon Day