How to make a smooth transition of focus from button to button?
#16
(2019-03-07, 15:54)gezosepite Wrote: But there was a new problem. Since texturenofocus is used, the focus always remains on the screen when one of the menu items is not selected. How can it be hidden without resorting to taking it out of minus coordinates?
 For this question, I used this solution:
xml:

<visible allowhiddenfocus="true">Control.HasFocus(1) | Control.HasFocus(2) | Control.HasFocus(3) | Control.HasFocus(4) | Control.HasFocus(5) | Control.HasFocus(6) | Control.HasFocus(7)</visible>
And it all worked. It remains to solve the problem with the stretching of the texture that I described above.
I always criticize and always will criticize what is badly thought out and does not work well.
Reply
#17
Just use the border attribute.


<texture border="5">texture</texture>
or
<texture border="5,0,5,0">texture</texture>
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#18
(2019-03-07, 21:28)sualfred Wrote: Just use the border attribute.


<texture border="5">texture</texture>
or
<texture border="5,0,5,0">texture</texture>
Great, that's great, thanks!
I always criticize and always will criticize what is badly thought out and does not work well.
Reply

Logout Mark Read Team Forum Stats Members Help
How to make a smooth transition of focus from button to button?0