Skip to content

Commit

Permalink
fix gui for high density in WIN and button in ThymioSelectionView.qml (
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Bonani authored Dec 20, 2021
1 parent e999356 commit 7ea595b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,9 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG "${CMAKE_BINARY_DIR}/bin")
cmake_policy(SET CMP0020 NEW)

if(CREATE_QT_CONF_FILE)
#create an empty qt.conf file
file(WRITE ${CMAKE_BINARY_DIR}/bin/qt.conf "")
#create an qt.conf file
file(WRITE ${CMAKE_BINARY_DIR}/bin/qt.conf "[Platforms]
WindowsArguments = dpiawareness=0")
install(FILES ${CMAKE_BINARY_DIR}/bin/qt.conf DESTINATION bin)
endif()

Expand Down
2 changes: 1 addition & 1 deletion aseba/launcher/src/qml/ThymioSelectionView.qml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import QtQuick 2.12
import QtQuick.Controls 2.12
import QtQuick.Layouts 1.12
//import org.mobsya 1.0
import org.mobsya 1.0

Item {
id:selection_view
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ Rectangle {

function fontsize(){
if(remoteConnection.height>=800)
return 15;
return 13;
return 14;
return 12;
}


Expand Down

0 comments on commit 7ea595b

Please sign in to comment.