Commit c70780c8a80283281c60ee11bccee699f80208f4

Authored by Thiago Franco de Moraes
1 parent e173d735
Exists in wxgtk3_bkp

the size of the volume viewer icons

Showing 1 changed file with 6 additions and 6 deletions   Show diff stats
invesalius/gui/default_viewers.py
... ... @@ -330,7 +330,7 @@ class VolumeViewerCover(wx.Panel):
330 330  
331 331 class VolumeToolPanel(wx.Panel):
332 332 def __init__(self, parent):
333   - wx.Panel.__init__(self, parent, size = (10,100))
  333 + wx.Panel.__init__(self, parent)
334 334  
335 335 # VOLUME RAYCASTING BUTTON
336 336 BMP_RAYCASTING = wx.Bitmap("../icons/volume_raycasting.png",
... ... @@ -346,15 +346,15 @@ class VolumeToolPanel(wx.Panel):
346 346  
347 347 button_raycasting = pbtn.PlateButton(self, BUTTON_RAYCASTING,"",
348 348 BMP_RAYCASTING, style=pbtn.PB_STYLE_SQUARE,
349   - size=(24,24))
  349 + size=(32,32))
350 350  
351 351 button_stereo = pbtn.PlateButton(self, BUTTON_3D_STEREO,"",
352 352 BMP_3D_STEREO, style=pbtn.PB_STYLE_SQUARE,
353   - size=(24,24))
  353 + size=(32,32))
354 354  
355 355 button_slice_plane = self.button_slice_plane = pbtn.PlateButton(self, BUTTON_SLICE_PLANE,"",
356 356 BMP_SLICE_PLANE, style=pbtn.PB_STYLE_SQUARE,
357   - size=(24,24))
  357 + size=(32,32))
358 358  
359 359 self.button_raycasting = button_raycasting
360 360 self.button_stereo = button_stereo
... ... @@ -363,13 +363,13 @@ class VolumeToolPanel(wx.Panel):
363 363 BMP_FRONT = wx.Bitmap(ID_TO_BMP[const.VOL_FRONT][1],
364 364 wx.BITMAP_TYPE_PNG)
365 365 button_view = pbtn.PlateButton(self, BUTTON_VIEW, "",
366   - BMP_FRONT, size=(24,24),
  366 + BMP_FRONT, size=(32,32),
367 367 style=pbtn.PB_STYLE_SQUARE)
368 368 self.button_view = button_view
369 369  
370 370 # VOLUME COLOUR BUTTON
371 371 if sys.platform == 'linux2':
372   - size = (28,28)
  372 + size = (32,32)
373 373 sp = 2
374 374 else:
375 375 size = (24,24)
... ...