mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 779322: TabsTray lost its scrolling capabilities. [r=mbrubeck]
--HG-- extra : rebase_source : 5574cd1dea25d3121fe50be5ef8407030b7a1897
This commit is contained in:
parent
b50d7f6a63
commit
021747592d
@ -109,7 +109,7 @@ public class TabsPanel extends LinearLayout {
|
||||
@Override
|
||||
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|
||||
if (!GeckoApp.mAppContext.hasTabsSideBar()) {
|
||||
int heightSpec = MeasureSpec.makeMeasureSpec(mContext.getResources().getDisplayMetrics().heightPixels, MeasureSpec.EXACTLY);
|
||||
int heightSpec = MeasureSpec.makeMeasureSpec((int) (0.5 * mContext.getResources().getDisplayMetrics().heightPixels), MeasureSpec.EXACTLY);
|
||||
super.onMeasure(widthMeasureSpec, heightSpec);
|
||||
} else {
|
||||
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
||||
|
Loading…
Reference in New Issue
Block a user