Lot of fixes for everything.

This commit is contained in:
Tobias Rundstrom 2006-02-21 00:29:28 -03:00
parent bdb2d70683
commit d356989d5e
18 changed files with 253 additions and 47 deletions

View file

@ -119,7 +119,7 @@ Slider::setPos (uint p)
}
uint x = m_pix * p / m_max;
if (x != m_pos) {
if (x < m_pix - m_button->rect().width() && x != m_pos) {
m_button->move (x , 0);
m_pos = x;
update ();