mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 07:27:44 +01:00
[Summary] Fixed indentation of new file info labels
This commit is contained in:
parent
aea7a70cc2
commit
c49b2aed95
1 changed files with 10 additions and 2 deletions
|
|
@ -799,7 +799,11 @@ TimeAxisViewItem::manage_ioconfig_highlight ()
|
|||
return;
|
||||
}
|
||||
|
||||
double ioconfig_x1 = ioconfig_label_width + NAME_HIGHLIGHT_X_INDENT + name_highlight->x1 ();
|
||||
double ioconfig_x1 = ioconfig_label_width + 2*NAME_HIGHLIGHT_X_INDENT + name_highlight->x1 ();
|
||||
#ifdef __APPLE__
|
||||
ioconfig_x1 =- NAME_HIGHLIGHT_X_INDENT; // there is a bug in pango with text width definition on MAC
|
||||
#endif // __APPLE__
|
||||
|
||||
if (_width < ioconfig_x1) {
|
||||
ioconfig_x1 = _width;
|
||||
}
|
||||
|
|
@ -838,7 +842,11 @@ TimeAxisViewItem::manage_sr_highlight ()
|
|||
return;
|
||||
}
|
||||
|
||||
double sr_x1 = sr_label_width + NAME_HIGHLIGHT_X_INDENT + ioconfig_highlight->x1 ();
|
||||
double sr_x1 = sr_label_width + 2*NAME_HIGHLIGHT_X_INDENT + ioconfig_highlight->x1 ();
|
||||
#ifdef __APPLE__
|
||||
sr_x1 =- NAME_HIGHLIGHT_X_INDENT; // there is a bug in pango with text width definition on MAC
|
||||
#endif // __APPLE__
|
||||
|
||||
if (_width < sr_x1) {
|
||||
sr_x1 = _width;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue