1

Topic: nTaskbar: change button width based on state

So after abit of inactivity i decided to fix my desk a little, and ofc i need to use litestep for it big_smile

I am trying to get my buttons on taskbar to change in width when i hover and have it active

basically i want my button that has a width of 50 in its normal/minimized state
and when i hover it i want it to be 150 and stay 150 when it becomes active,
it wont change the width so im wondering what i should do to get it to work hmm

..
Button
{
 width 50
 ..
 ...
   Hover
   {
     width 150
      ..
      ...
   }
}

thats pretty much the base of it, the images and font and such do work and change as suppose to just not the width

2

Re: nTaskbar: change button width based on state

Have been trying like hell to figure this out, can it be this hard to make the button have the width of 150 when it's hovered and active and 50 when it aint ? :S
maybe if Alur is out there somewhere he can answer it when  he sees this hmm
been trying to change it with the nCore.Window.Size() function and the !nSetImage with no success, maybe im doing something wrong hmm

3

Re: nTaskbar: change button width based on state

This is not currently possible. In different parts ofnModules, window stances react differently to resize attempts.
You may get better results with event processing, but they are, too, proved to be a little problematic in my tests.