mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Try to make text rendering in qml sharper
This commit is contained in:
parent
dde28c627b
commit
cded494cb5
2 changed files with 3 additions and 0 deletions
|
@ -134,6 +134,8 @@ Page {
|
|||
anchors.fill: parent
|
||||
}
|
||||
|
||||
pixelAligned: true
|
||||
|
||||
Shortcut {
|
||||
sequence: StandardKey.MoveToPreviousPage
|
||||
onActivated: { chat.contentY = chat.contentY - chat.height / 2; chat.returnToBounds(); }
|
||||
|
|
|
@ -107,6 +107,7 @@ TimelineViewManager::TimelineViewManager(QSharedPointer<UserSettings> userSettin
|
|||
container = view;
|
||||
view->setResizeMode(QQuickWidget::SizeRootObjectToView);
|
||||
container->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
||||
view->quickWindow()->setTextRenderType(QQuickWindow::NativeTextRendering);
|
||||
|
||||
connect(view, &QQuickWidget::statusChanged, this, [](QQuickWidget::Status status) {
|
||||
nhlog::ui()->debug("Status changed to {}", status);
|
||||
|
|
Loading…
Reference in a new issue