Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use GDK_DPI_SCALE; smaller steps inn spinbox #542

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lxqt-config-session/basicsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ static const QLatin1String leaveConfirmationKey("leave_confirmation");
static const QLatin1String lockBeforePowerActionsKey("lock_screen_before_power_actions");
static const QLatin1String powerActionsAfterLockDelayKey("power_actions_after_lock_delay");
static const QLatin1String QtScaleKey("QT_SCALE_FACTOR");
static const QLatin1String GdkScaleKey("GDK_SCALE");
static const QLatin1String GdkScaleKey("GDK_DPI_SCALE");
static const QLatin1String openboxValue("openbox");

BasicSettings::BasicSettings(LXQt::Settings *settings, QWidget *parent) :
Expand Down
2 changes: 1 addition & 1 deletion lxqt-config-session/basicsettings.ui
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
<double>4.000000000000000</double>
</property>
<property name="singleStep">
<double>0.500000000000000</double>
<double>0.100000000000000</double>
</property>
<property name="value">
<double>1.000000000000000</double>
Expand Down
2 changes: 1 addition & 1 deletion lxqt-config-session/environmentpage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ void EnvironmentPage::updateScaleFactor()
{
m_settings->beginGroup(QL1S("Environment"));
updateItem(QL1S("QT_SCALE_FACTOR"), m_settings->value(QL1S("QT_SCALE_FACTOR"), 1).toString());
updateItem(QL1S("GDK_SCALE"), m_settings->value(QL1S("GDK_SCALE"), 1).toString());
updateItem(QL1S("GDK_DPI_SCALE"), m_settings->value(QL1S("GDK_DPI_SCALE"), 1).toString());
m_settings->endGroup();
}