Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from qgis.utils import iface
- from PyQt4.QtGui import QDockWidget
- for x in iface.mainWindow().findChildren(QDockWidget):
- if x.objectName() == 'Layers':
- x.setFixedWidth(250)
- x.setMinimumWidth(100)
- x.setMaximumWidth(1000)
Add Comment
Please, Sign In to add comment