Set aspect ratio for thumbnails of followed tab to 1:1
This commit is contained in:
parent
cc2875911e
commit
8bd5412504
|
@ -21,7 +21,7 @@ public class CherryTvTabProvider implements TabProvider {
|
||||||
this.recorder = cherryTv.getRecorder();
|
this.recorder = cherryTv.getRecorder();
|
||||||
|
|
||||||
followedTab = new CherryTvFollowedTab("Following", site);
|
followedTab = new CherryTvFollowedTab("Following", site);
|
||||||
followedTab.setImageAspectRatio(9.0 / 16.0);
|
followedTab.setImageAspectRatio(1);
|
||||||
followedTab.preserveAspectRatioProperty().set(false);
|
followedTab.preserveAspectRatioProperty().set(false);
|
||||||
followedTab.setRecorder(recorder);
|
followedTab.setRecorder(recorder);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue