• Hi,

    As per this post that didn't get a reply. I can remove the buttons but it leaves a gap where they used to be.

    Could someone explain how I can comment out/remove certain buttons and for the control bar to auto size to fit with the buttons missing?

    Thanks

  • Hi Klaus,

    Sorry, I'd forgotten about this post, but it has come up in a tour I'm making again.

    "Do you mean the vtourskin.xml?"

    Yes, specifically:

    If I comment them out, remove them or 'set visible="false" ' they are removed, but the control bar does not resize. It just shows empty space.

    ie:

    Code
    <layer name="skin_btn_navi" type="container" align="center" x="0" width="240" height="32" >
        <layer name="skin_btn_left"  style="skin_base|skin_glow" crop="0|192|64|64"  align="center"      x="-100" y="0"  scale="0.5" ondown="set(hlookat_moveforce,-1);" onup="set(hlookat_moveforce,0);" visible="false" />
        <layer name="skin_btn_right" style="skin_base|skin_glow" crop="64|192|64|64" align="center"      x="-60"  y="0"  scale="0.5" ondown="set(hlookat_moveforce,+1);" onup="set(hlookat_moveforce,0);" visible="false" />
        <layer name="skin_btn_up"    style="skin_base|skin_glow" crop="0|256|64|64"  align="center"      x="-20"  y="0"  scale="0.5" ondown="set(vlookat_moveforce,-1);" onup="set(vlookat_moveforce,0);" visible="false" />
        <layer name="skin_btn_down"  style="skin_base|skin_glow" crop="64|256|64|64" align="center"      x="+20"  y="0"  scale="0.5" ondown="set(vlookat_moveforce,+1);" onup="set(vlookat_moveforce,0);" visible="false" />
        <layer name="skin_btn_in"    style="skin_base|skin_glow" crop="0|320|64|64"  align="center"      x="+60"  y="0"  scale="0.5" ondown="set(fov_moveforce,-1);"     onup="set(fov_moveforce,0);" visible="false" />
        <layer name="skin_btn_out"   style="skin_base|skin_glow" crop="64|320|64|64" align="center"      x="+100" y="0"  scale="0.5" ondown="set(fov_moveforce,+1);"     onup="set(fov_moveforce,0);" visible="false" />
    </layer>

    I get this:

    Ideally, I'd be expecting something like this:

    Thanks

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!