fix alignment of unstuck default pixmap
This commit is contained in:
parent
10211d5fec
commit
31c77912d8
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
/// $Id: WinButton.cc,v 1.5 2003/05/06 23:58:08 fluxgen Exp $
|
/// $Id: WinButton.cc,v 1.6 2003/05/07 12:16:09 rathnor Exp $
|
||||||
|
|
||||||
#include "WinButton.hh"
|
#include "WinButton.hh"
|
||||||
#include "App.hh"
|
#include "App.hh"
|
||||||
|
@ -207,7 +207,7 @@ void WinButton::drawType() {
|
||||||
if (gc() == 0) // must have valid graphic context
|
if (gc() == 0) // must have valid graphic context
|
||||||
return;
|
return;
|
||||||
window().fillRectangle(gc(),
|
window().fillRectangle(gc(),
|
||||||
width()/2, height()/2,
|
width()/2 - width()/10, height()/2 - height()/10,
|
||||||
width()/5, height()/5);
|
width()/5, height()/5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue