I was having an issue and reinstalled krita to the latest version, 5.2.6 on windows. Now everything is tiny!!! I resized everything (even hidpi, did nothing) but the the whole row up top with the save, open, new, brush settings, ect buttons are still so tiny and i dont know what to do!!! Please help is gonna start crying, why did they have to change the size.
UPDATE :
Its the tool bar that is tiny, everything else is fine now.
You can right click on a free space in the tool bar and then there should open a small context menu where you can change the icon sizes. This only affects the tool bar not the other icons of the software.
Krita’s Scripter can help in scaling buttons at main tool bar.
(with some work script can be converted to Extension that is execute automatically for each new window that is opened in Krita)
from krita import Krita
from PyQt5.QtCore import Qt, QSize
from PyQt5.QtWidgets import QToolBar, QAbstractButton
size = QSize(256, 256) # change width and height to match your needs
qwin = Krita.instance().activeWindow().qwindow()
mainToolBar = qwin.findChild(QToolBar, 'mainToolBar')
mainToolBar.setIconSize(size)
mainToolBar.setToolButtonStyle(Qt.ToolButtonIconOnly)
layout = mainToolBar.layout()
layout.setContentsMargins(0, 0, 0, 0)
layout.setSpacing(0)
layout.layout().setAlignment(Qt.AlignLeft | Qt.AlignVCenter)
for i in range(layout.count()):
l_item = layout.itemAt(i)
l_item.setAlignment(Qt.AlignCenter)
for widget in mainToolBar.findChildren(QAbstractButton, '', Qt.FindDirectChildrenOnly):
widget.setContentsMargins(0, 0, 0, 0)
widget.setMinimumSize(size)
And here is a better adjusted version of the script.
from krita import Krita
from PyQt5.QtCore import Qt, QSize
from PyQt5.QtWidgets import QAbstractButton, QWidget, QToolBar, QLayout
size = QSize(50, 50) # change width and height to match your needs
qwin = Krita.instance().activeWindow().qwindow()
for tool_bar in qwin.findChildren(QToolBar, None, Qt.FindDirectChildrenOnly):
tool_bar.setIconSize(size)
tool_bar.setToolButtonStyle(Qt.ToolButtonIconOnly)
layout = tool_bar.layout()
layout.setContentsMargins(0, 0, 0, 0)
layout.setSpacing(0)
layout.layout().setAlignment(Qt.AlignLeft | Qt.AlignVCenter)
for i in range(layout.count()):
l_item = layout.itemAt(i)
l_item.setAlignment(Qt.AlignCenter)
for widget in tool_bar.findChildren(QWidget):
widget.setContentsMargins(0, 0, 0, 0)
widget.setMinimumSize(size)
for widget in tool_bar.findChildren(QAbstractButton):
widget.setIconSize(size)
for sub_layout in tool_bar.findChildren(QLayout):
sub_layout.setContentsMargins(0, 0, 0, 0)
sub_layout.setSpacing(0)
for i in range(sub_layout.count()):
l_item = sub_layout.itemAt(i)
l_item.setAlignment(Qt.AlignCenter)