Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QPushButton on android is surrounded by square when clicking
Forum Updated to NodeBB v4.3 + New Features

QPushButton on android is surrounded by square when clicking

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 289 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Devcpp
    wrote on last edited by
    #1

    I'm creating a dictionary app for both windows and android buy I have some problems on android

    The QPushButton gets surrounded by a square when I click it and the square isn't removed until I click on another element

    I used the stylsheet to set the button border to 0 and set the icon with qt designer

    There is no issue with this on windows

    0_1558305847790_Screenshot_٢٠١٩-٠٥-٢٠-٠٠-٢٦-١٦-٥٤٣_org.qtproject.example.android_gui.png

    0_1558305853831_Screenshot_٢٠١٩-٠٥-٢٠-٠٠-٢٦-٢٢-٨٩٧_org.qtproject.example.android_gui.png

    0_1558305864330_Screenshot_٢٠١٩-٠٥-٢٠-٠٠-٢٦-٣٠-١١١_org.qtproject.example.android_gui.png

    0_1558305871352_Screenshot_٢٠١٩-٠٥-٢٠-٠٠-٢٦-٣٥-١٥٤_org.qtproject.example.android_gui.png

    J.HilkJ 1 Reply Last reply
    0
    • D Devcpp

      I'm creating a dictionary app for both windows and android buy I have some problems on android

      The QPushButton gets surrounded by a square when I click it and the square isn't removed until I click on another element

      I used the stylsheet to set the button border to 0 and set the icon with qt designer

      There is no issue with this on windows

      0_1558305847790_Screenshot_٢٠١٩-٠٥-٢٠-٠٠-٢٦-١٦-٥٤٣_org.qtproject.example.android_gui.png

      0_1558305853831_Screenshot_٢٠١٩-٠٥-٢٠-٠٠-٢٦-٢٢-٨٩٧_org.qtproject.example.android_gui.png

      0_1558305864330_Screenshot_٢٠١٩-٠٥-٢٠-٠٠-٢٦-٣٠-١١١_org.qtproject.example.android_gui.png

      0_1558305871352_Screenshot_٢٠١٩-٠٥-٢٠-٠٠-٢٦-٣٥-١٥٤_org.qtproject.example.android_gui.png

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      hi @Devcpp and welcome,

      in your stylesheet, set the outline to none


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved