Questions tagged [custom-titlebar]

98 questions
1
vote
0 answers

Customizing titlebar on Windows in Qt 6

I'm working on an Qt 6-based application where I'd like to be able to extend the window content into the titlebar area, but keep the window buttons, something like this on Windows 10/11: I have a solution implemented on macOS, but I'm struggling on…
rainbowgoblin
  • 1,221
  • 12
  • 28
1
vote
0 answers

Android: custom title style

I have a listactivity with iconified text which I'm giving a custom title. Here's my custom_style.xml:
Barry
  • 1,258
  • 3
  • 13
  • 27
1
vote
1 answer

Android: read window title resource id

I am trying to create a custom title layout but I'd still want to use the activity's original label text. Is there a way to reference the window title (label attribute) in my custom title xml? Thanks.
Eric Chen
  • 3,562
  • 7
  • 39
  • 58
1
vote
0 answers

Android: Cannot use AppCompat theme with custom window title

I'm like in a kind of a vicious circle. I'm trying to implement MVVM pattern into my app, but to instantiate ViewModel the next way: ViewModel loginViewModel = new ViewModelProvider(this).get(LoginViewModel.class); it's necessary to extend…
Diego Perez
  • 2,188
  • 2
  • 30
  • 58
1
vote
1 answer

custom-electron-titlebar issue when nodeIntegration:false

I'm trying to use custom-electron-titlebar : https://github.com/AlexTorresSk/custom-electron-titlebar#readme . When I put in the renderer process : import customTitlebar from 'custom-electron-titlebar'; _getTitleBar() { return…
Raphael10
  • 2,508
  • 7
  • 22
  • 50
1
vote
1 answer

Android title bar icon size

Is it possible to specify the size for the icon for the android title bar? requestWindowFeature(Window.FEATURE_LEFT_ICON); setContentView(R.layout.main); setFeatureDrawableResource(Window.FEATURE_LEFT_ICON, R.drawable.logo);
Mithun Sreedharan
  • 49,883
  • 70
  • 181
  • 236
1
vote
3 answers

How to disable the title bar in tkinter on a mac?

I am trying to remove the title bar of a tkinter window. I want to make a custom title bar. I have searched for this answer and I found this. import tkinter as tk root = tk.Tk() # eliminate the titlebar root.overrideredirect(1) # your code here…
Tkoz
  • 41
  • 5
1
vote
0 answers

how to set image view for custom title bar in android

I want to set custom title bar to which i want to set ImageView as background to the title bar. how to set ImageView for custom title bar in android. i used: getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.page_layout); …
user562237
  • 775
  • 5
  • 15
  • 24
1
vote
0 answers

Error Regarding the Title

I have got an AndroidRunTimeException, that says that you cannot combine custom titles with other title features. Can anybody tell me why it occurs?
user644458
1
vote
0 answers

How to change font size in the title bar of a JDialog

Basically what the title says. I couldn't change the font size of the title bar in a JDialog. public MyDialog(Frame parent, Bank b) { super(parent, "Create Account", true); this.bank = b; Point loc = parent.getLocation(); …
Zeke
  • 29
  • 1
  • 6
1
vote
0 answers

How to show a notification button in title bar (or a general button if not possible)?

I would like to add a button to the title bar of my C++/Qt application, like the one for Visual Studio notifications (I've seen other programs using it too, like SourceTree). I have been searching around for a while but many pages redirect to this…
cbuchart
  • 10,847
  • 9
  • 53
  • 93
1
vote
2 answers

How to customize title text of android activity

I'm trying to edit the Title text size because it changes when in landscape screen. I found changing the dimension in SP can solve the problem. So I did this... added a style in style.xml