how to change the button size on title bar on xwayland? - linux

I'm working on a yocto platform with Qt5 + xwayland backend, there is a issue that the buttons on title bar like close/maximum are too small to click, I changed QT_WAYLAND_FORCE_DPI but it only affects the client area but not title bar. and I changed scale in weston.ini but it doesn't work. can anybody give some tips? thanks in advance.
Djiq

Currently I returned to this project and find the way to solve the issue, the title bar is decorated by qt, so just modify the files in wayland/src/plugins/decorations/bradient.

Related

Is there a way to remove title bar in atom-editor in linux

I am trying to remove the title bar on atom in linux. The extensions there seem to offer no help since most of them are mac-oriented. I have found an answer to this here but the code provided does not seem to affect the title-bar, only the editor
As I remember you can remove the title bar by going to Settings>Core>Title Bar.

Custom mfc MDI child window title bar drawing (variable thickness)

I have a MDI project. Multiple child windows are created. I want to customize the frame of the child windows. The title bar thickness needs to be reduced. I tried to handle ON_WM_NCPAINT()
ON_WM_CREATE()
It hasnt worked. Need some help in custom drawing of the title bar.
Any help would be appreciated. Any link for sample project would be helpful.
Thanks & Regards,
Rakesh
What I have tried:
I have tried handling
ON_WM_NCPAINT()
ON_WM_CREATE()
ON_WM_SIZE()
ON_WM_PAINT()
I didnt see the title bar change in any way. Probably I am not doing it rightly.

Android - Set Default Spinner Themes

I'm new to Android development.
I'm using drag and drop to pull down a default spinner onto my layout.
However, the default is not the one I see everyone using with the triangle on the bottom right.
An example of what I see is:
http://www.mkyong.com/wp-content/uploads/2011/11/android-spinner-demo1.png
Whereas what I'm looking to achieve is this:
http://i.stack.imgur.com/X82Ld.png
Is it a styling issue?
Apologies for ripping off other people's images, I don't have enough rep for uploading my own images.
Thanks so much!
I've Solved my issue by setting the Theme of the application/activity to Holo.Light. Hope this helps other people in the process.

Missing title bar after adding Default-568h#2x.png for iPhone 5 support

I created a new solution with Monotouch 6.0.2 of type MonoTouch/Universal/Master-Detail. I wrote no single line of my own code. When I start the app, all looks great.
Then I add an image of 640x1136 pixel to support the iPhone 5 named Default-568h#2x.png to the solution (type content). When I start the solution again (after a rebuild), the title bar is gone and there is no toolbar at the bottom of the screen. No navigation is possible. Please look at the attached image (left side ok, right side no really).
What's wrong here?
Thanks,
Jan

PyQT Remove the programs Title Bar?

hi does anybody knows how to remove the programs title bar? (In PyQT or in Designer)
my goal is i need to replace it with my own title bar.
thanks to anyone who can help me.
The title bar is managed by the window manager and not by the application.
Therefore you can not modify the title bar with the Qt Designer.
You can hide the title bar with widget.setWindowFlags(QtCore.Qt.CustomizeWindowHint) or widget.setWindowFlags(QtCore.Qt.FramelessWindowHint).
These and other options are described in the Qt documentation (Qt Namespace).
The Qt Window Flags Example makes them easier to understand.
This problem looks similar to yours: Qt4 custom window frames like in office 2007?
See also: How can I hide/delete the "?" help button on the "title bar" of a QT Dialog?

Resources