Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to change how "tab" character paints in QTextEdit/QPlainTextEdit
Forum Updated to NodeBB v4.3 + New Features

How to change how "tab" character paints in QTextEdit/QPlainTextEdit

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 754 Views 1 Watching
  • 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.
  • C Offline
    C Offline
    Code_ReaQtor
    wrote on last edited by
    #1

    Hi,

    I'm making a text editor and I'm trying to change how the "tab" character will look like when text option is changed to showTabsAndSpaces. I wan't it to look like that one in Notepad++ or something similar.

    Here are the screenshots as compared to Notepad++:
    "Notepad++":https://www.dropbox.com/s/ajsyc51t4uuircx/tab_np++.PNG
    "Qt":https://www.dropbox.com/s/gr5261xw6wmuda0/tab_qt.PNG

    Anybody tried this?
    Thanks

    Please visit my open-source projects at https://github.com/Code-ReaQtor.

    1 Reply Last reply
    0

    • Login

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