Groups
Groups
Sign in
Groups
Groups
QtContribs
Conversations
Labels
About
Send feedback
Help
text wrap in QPushButton
812 views
Skip to first unread message
Vanja Maričić
unread,
May 27, 2015, 7:57:10 AM
5/27/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to qtcon...@googlegroups.com
hi to all members,
for the moment i'm calling QT window from WVT and i need to somehow wrap the text in QPushButton or at least break it in two lines.
for the moment using:
Harbour version: Harbour 3.2.0dev (r1410211457)
GCC version: MinGW GNU C 4.8.2 (32-bit)
QT version: 5.3.2
Pritpal Bedi
unread,
May 27, 2015, 10:46:27 AM
5/27/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to qtcon...@googlegroups.com, gtv...@gmail.com
Hi Vanja
Try it like ( not tested as not around my development system ):
oPushButton:setText( "First Line" + Chr( 10 ) + "Second Line" )
Pritpal Bedi
a student of software analysis & concepts
Vanja Maričić
unread,
May 27, 2015, 12:31:50 PM
5/27/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to qtcon...@googlegroups.com, gtv...@gmail.com
hi Pritpal,
this is workig. many thanks
Reply all
Reply to author
Forward
0 new messages