chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
917ce96
)
Temporary button placement changes.
author
Steven Abadie
<steven@alephobjects.com>
Thu, 23 Oct 2014 21:49:57 +0000
(15:49 -0600)
committer
Steven Abadie
<steven@alephobjects.com>
Thu, 23 Oct 2014 21:49:57 +0000
(15:49 -0600)
Cura/gui/util/openglGui.py
patch
|
blob
|
history
diff --git
a/Cura/gui/util/openglGui.py
b/Cura/gui/util/openglGui.py
index b4a33f8f0c0ede02f690c042ee181cb03bdb921c..9d2321ff88e46af623cfed62e29948137ec39e8e 100644
(file)
--- a/
Cura/gui/util/openglGui.py
+++ b/
Cura/gui/util/openglGui.py
@@
-589,14
+589,14
@@
class glComboButton(glButton):
self._selected = self.hasFocus()
super(glComboButton, self).draw()
- bs = self._base._buttonSize / 2
+ bs = self._base._buttonSize
#
/ 2
pos = self._getPixelPos()
if not self._selected:
return
glPushMatrix()
- glTranslatef(pos[0]+bs*0.
5
, pos[1] + bs*0.5, 0)
+ glTranslatef(pos[0]+bs*0.
1
, pos[1] + bs*0.5, 0)
glBindTexture(GL_TEXTURE_2D, self._base._glButtonsTexture)
for n in xrange(0, len(self._imageIDs)):
glTranslatef(0, bs, 0)